![]() |
VOOZH | about |
public static boolean isIdentifierIgnorable(char ch)Parameters: The parameter ch is of character datatype and refers to the character that is to be tested. Return Value: This method returns true if the character is an ignorable control character that may be part of a Java or Unicode identifier, false otherwise. Below programs illustrate the Character.isIdentifierIgnorable(char ch) method: Program 1:
c1 is an ignorable control character is true c2 is an ignorable control character is false
c1 is an ignorable control character is true c2 is an ignorable control character is false
public static boolean isIdentifierIgnorable(int codePoint)Parameter: The function accepts a single parameter codePoint of integer datatype which specifies the character (Unicode code point) that is to be tested. Return value: This method returns true if the character is an ignorable control character that may be part of a Java or Unicode identifier, false otherwise. Below program illustrates the Character.isIdentifierIgnorable(int codepoint) method: Program 1:
c1 is an ignorable control character? ans is false c2 is an ignorable control character? ans is false
c1 is an ignorable control character? ans is false c2 is an ignorable control character? ans is false