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) {
        char ch1 = '\ud800', ch2 = '\udc00';

        int cp = Character.toCodePoint(ch1, ch2);

        String str = "Supplementary code point value is " + cp;

        System.out.println(str);
    }
}