The method decides whether the particular char worth is a letter. Java Character isLetter() Method. The isLetter(char ch) technique of excellence class decides whether the specified(or specified) character is a letter or not. Nature is considered to be a letter if the general category type is provided by the Character.
boolean isLetter(char ch)
Here is the detail of parameters −
public class Test { public static void main(String args[]) { System.out.println(Character.isLetter('c')); System.out.println(Character.isLetter('5')); } }
This will produce the following result:
true false
Here at Intellinuts, we have created a complete Java tutorial for Beginners to get started in Java.