Character.isIdentifierIgnorable(char ch) has the following syntax.
public static boolean isIdentifierIgnorable(char ch)
In the following code shows how to use Character.isIdentifierIgnorable(char ch) method.
public class Main { /*from www . j a va 2 s.c o m*/ public static void main(String[] args) { char ch1 = '\u0000', ch2 = '8'; boolean b1 = Character.isIdentifierIgnorable(ch1); boolean b2 = Character.isIdentifierIgnorable(ch2); System.out.println( b1 ); System.out.println( b2 ); } }
The code above generates the following result.