Online Java Compiler By
JavaTpoint.com
public class JavaCharacterisIdentifierIgnorableintcodePointExample1 { public static void main(String[] args) { // Create three int primitives codePoint1, codePoint2 and codePoint3. int codePoint1, codePoint2, codePoint3; // Assign the values to codePoint1, codePoint2 and codePoint3; codePoint1 = 0x008f; codePoint2 = 0x0abc; codePoint3 = 0x0a76; // Create three boolean primitives b1, b2 and b3; boolean b1, b2, b3; // Assign the results of isIdentifierIgnorable of codePoint1, codePoint2 and codePoint3 to b1, b2and b3 respectively. b1 = Character.isIdentifierIgnorable(codePoint1); b2 = Character.isIdentifierIgnorable(codePoint2); b3 = Character.isIdentifierIgnorable(codePoint3); System.out.println("The first codePoint is an ignorable control character is: "+ b1); System.out.println("The second codePoint is an ignorable control character is: "+ b2); System.out.println("The third codePoint is an ignorable control character is: "+ b3); } }
Output