Java Character .isUnicodeIdentifierStart (int codePoint)
Syntax
Character.isUnicodeIdentifierStart(int codePoint) has the following syntax.
public static boolean isUnicodeIdentifierStart(int codePoint)
Example
In the following code shows how to use Character.isUnicodeIdentifierStart(int codePoint) method.
public class Main {
public static void main(String[] args) {
int cp1 = 0x037e; // represents GREEK QUESTION MARK
int cp2 = 0x05d1; // represents HEBREW LETTER BET
//from w ww. j av a 2 s .c om
boolean b1 = Character.isUnicodeIdentifierStart(cp1);
boolean b2 = Character.isUnicodeIdentifierStart(cp2);
System.out.println( b1 );
System.out.println( b2 );
}
}
The code above generates the following result.