Tutorials Point


  Java Basics
  Java Object Oriented
  Java Advanced
  Java Useful References
  Java Useful Resources
  Selected Reading

© 2011 TutorialsPoint.COM


  Home     References     Discussion Forums     About TP  

Java - isLetter() Method


previous next AddThis Social Bookmark Button


Description:

The method determines whether the specified char value is a letter.

Syntax:

boolean isLetter(char ch)

Parameters:

Here is the detail of parameters:

  • Primitive character type

Return Value :

  • Returns true if passed character is really a character.

Example:

public class Test{
   public static void main(String args[]){
      System.out.println( Character.isLetter('c'));
      System.out.println( Character.isLetter('5'));
   }
}

This produces following result:

true
false


previous next Printer Friendly



  

Advertisement

Online Image Processing

Indian Baby Names