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) {
        CharSequence seq = "Hello";
        int index = 4;
        int res = Character.codePointAt(seq, index);

        String str = "Unicode code point is " + res;

        System.out.println(str);
    }
}