Online Java Compiler By
JavaTpoint.com
public class Character_codePointAtMethodExample1 { public static void main(String[] args) { String input = "This is the first program for the given method"; System.out.println("This is the first program for the given method : "); int index = 4; System.out.println(input.codePointAt(index)); } }
Output