Java Data Type Tutorial - Java Character.isLowerCase(int codePoint)








Syntax

Character.isLowerCase(int codePoint) has the following syntax.

public static boolean isLowerCase(int codePoint)

Example

In the following code shows how to use Character.isLowerCase(int codePoint) method.

public class Main {
/*  w w  w  .j  a v  a  2 s  .c  o  m*/
   public static void main(String[] args) {
      int cp1 = 0x007a, cp2 = 0x0fff;

      boolean b1 = Character.isLowerCase(cp1);
      boolean b2 = Character.isLowerCase(cp2);

      System.out.println( b1 );
      System.out.println( b2 );
   }
}

The code above generates the following result.