java.lang.Character.UnicodeBlock.of(int codePoint)


java.lang.Character.UnicodeBlock.of(int codePoint)

package com.codingdict;



import java.lang.*;



public class CharacterUnicodeBlockDemo {



   public static void main(String[] args) {



      // returns the UnicodeBlock by specifying codePoint

      System.out.println(Character.UnicodeBlock.of(20));

      System.out.println(Character.UnicodeBlock.of(1009));    

      System.out.println(Character.UnicodeBlock.of(12345));        

      System.out.println(Character.UnicodeBlock.of(999));   

   }

}