Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {

    public static void main(String[] args) {
        int cp1 = 0x008f, cp2 = 0x0123;

        System.out.println(Character.highSurrogate(cp1));
        System.out.println(Character.highSurrogate(cp2));
    }
}