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[] c = new char[] { 'A', 'b', 'C', 'd' };

        int index = 3, start = 1;

        int res = Character.codePointBefore(c, index, start);

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

        System.out.println(str);
    }
}