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