Charcodeat Java

String str = "Hello World";
int codePointAt0 = Character.codePointAt(str, 0);
abdullah