Character.isDefined(char ch) has the following syntax.
public static boolean isDefined(char ch)
In the following code shows how to use Character.isDefined(char ch) method.
public class Main { 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.