Java Data Type Tutorial - Java Character.isLowerCase(char ch)








Syntax

Character.isLowerCase(char ch) has the following syntax.

public static boolean isLowerCase(char ch)

Example

In the following code shows how to use Character.isLowerCase(char ch) method.

We can also check the lower case letter.

public class Main {
  public static void main(String[] args) {
    char symbol = 'A';
//  ww  w  . jav a2 s.co m
    if (Character.isLowerCase(symbol)) {
      System.out.println("true");
    }else{
      System.out.println("false");
    }
  }
}

The code above generates the following result.