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








Syntax

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

public static boolean isISOControl(int codePoint)

Example

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

public class Main {
/*  www . ja va2 s  .  c  o  m*/
   public static void main(String[] args) {
      int cp1 = 0x008f, cp2 = 0x0123;

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

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

The code above generates the following result.