Java tutorial
public class Main { public static void main(String[] args) { int cp1 = 0x0065, cp2 = 0x0abcd; boolean b1 = Character.isSupplementaryCodePoint(cp1); boolean b2 = Character.isSupplementaryCodePoint(cp2); System.out.println(b1); System.out.println(b2); } }