Online Java Compiler By
JavaTpoint.com
public class CharactercodePointAtMethodExample5 { public static void main(String[] args) { char[] c1 = new char[] { 'h', 'e', 'l', 'l', 'o' }; System.out.println("Hello"); int index1 = 2, limit1 = 4; int res1 = Character.codePointAt(c1, index1, limit1); System.out.println("Unicode code point is : " + res1 ); char[] c2 = new char[] { 'e', 'v', 'e', 'r', 'y','o', 'n', 'e', }; System.out.println("Everyone"); int index2 = 2, limit2 = 3; int res2 = Character.codePointAt(c1, index1, limit1); System.out.println("Unicode code point is : " + res2 ); } }
Output