java.lang.Character.UnicodeBlock.of(char c) java.lang.Character.UnicodeBlock.forName() java.lang.Character.UnicodeBlock.of(int codePoint) java.lang.Character.UnicodeBlock.of(char c) package com.codingdict; import java.lang.*; public class CharacterUnicodeBlockDemo { public static void main(String[] args) { /* returns the object representing the Unicode block containing the given character */ System.out.println(Character.UnicodeBlock.of('\u20ac')); System.out.println(Character.UnicodeBlock.of('-')); System.out.println(Character.UnicodeBlock.of('=')); System.out.println(Character.UnicodeBlock.of('Z')); } } java.lang.Character.UnicodeBlock.forName() java.lang.Character.UnicodeBlock.of(int codePoint)