Online Java Compiler By
JavaTpoint.com
package tests; public class CharactercodePointAtMethodExample6 { public static void main(String[] args) { char[] ch = new char[] { '1', '2', '3', '4', '5' }; int index = 1, limit = 4; int res = Character.codePointAt(ch, index, limit); System.out.println("The numbers are: '1', '2', '3', '4', '5' "); System.out.println("Unicode code point is " + res ); } }
Output