Character.codePointAt(char[] a, int index, int limit) has the following syntax.
public static int codePointAt(char[] a, int index, int limit)
In the following code shows how to use Character.codePointAt(char[] a, int index, int limit) method.
public class Main { public static void main(String[] args) { char[] c = new char[] { 'a', 'b', 'c', 'd', 'e' }; int index = 1, limit = 3; int res = Character.codePointAt(c, index, limit); System.out.println( "Unicode code point is " + res ); } }
The code above generates the following result.