java.lang.Character.codePointBefore(CharSequence seq, int index) java.lang.Character.codePointBefore(char[ ] a, int index, int start) java.lang.Character.codePointCount(char[ ] a, int offset, int count) java.lang.Character.codePointBefore(CharSequence seq, int index) package com.codingdict; import java.lang.*; public class CharacterDemo { public static void main(String[] args) { // create a CharSequence seq and assign value CharSequence seq = "Hello"; // create and assign value to index int index = 4; // create an int res int res; // assign result of codePointBefore on seq at index to res res = Character.codePointBefore(seq, index); String str = "Unicode code point is " + res; // print res value System.out.println( str ); } } java.lang.Character.codePointBefore(char[ ] a, int index, int start) java.lang.Character.codePointCount(char[ ] a, int offset, int count)