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








Syntax

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

public static boolean isBmpCodePoint(int codePoint)

Example

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

/* ww w  .  ja  v  a  2 s.  c  o  m*/
public class Main {

  public static void main(String[] args) {
    char cp1 = ' ', cp2 = 'A';

    boolean b1 = Character.isBmpCodePoint(cp1);

    System.out.println(b1);
  }
}

The code above generates the following result.