Java Character.isDefined(char ch)
Syntax
Character.isDefined(char ch) has the following syntax.
public static boolean isDefined(char ch)
Example
In the following code shows how to use Character.isDefined(char ch) method.
public class Main {
//from www. j a v a 2s . c o m
public static void main(String[] args) {
char ch = '@';
boolean b = Character.isDefined(ch);
System.out.println( "Character " +ch+
" has defined meaning in Unicode is " +b );
}
}
The code above generates the following result.