java.lang.Character.isDefined(char ch)


java.lang.Character.isDefined(char ch)

package com.codingdict;



import java.lang.*;



public class CharacterDemo {



   public static void main(String[] args) {



      // create a char primitive ch

      char ch;



      // assign value to ch

      ch = '@';



      // create a boolean primitives b

      boolean b;



      // assign isDefined result of ch to b

      b = Character.isDefined(ch);



      String str = "Character " +ch+ " has defined meaning in Unicode is " +b;



      // print b value

      System.out.println( str );

   }

}