Character.isUpperCase(int codePoint) has the following syntax.
public static boolean isUpperCase(int codePoint)
In the following code shows how to use Character.isUpperCase(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 w w .j a va2 s . com*/ boolean b1 = Character.isUpperCase(cp1); boolean b2 = Character.isUpperCase(cp2); System.out.println( b1 ); System.out.println( b2 ); } }
The code above generates the following result.