Latest web development tutorials

Java isLowerCase () method

Java Character class Java Character class


isLowerCase () method is used to determine the specified character is a lowercase letter.

grammar

boolean isLowerCase(char ch)

parameter

  • ch - the character to be tested.

return value

If the character is lowercase, it returns true; otherwise false.

Examples

public class Test {

	public static void main(String args[]) {
		System.out.println( Character.isLowerCase('c'));
		System.out.println( Character.isLowerCase('C'));
	}
}

The above program execution results:

true
false

Java Character class Java Character class