Menu
Question Index
...

What will be the output of the following program?

public class codePoint {
    public static void main(String[] args) {
        int point, position = 1, length = 4;
        char[] charArray = new char[]{'J', 'a', 'v', 'a'};
        point = Character.codePointAt(charArray, position, length);
        System.out.println(point);
    }
}


74
97
Compilation Error
Runtime Error

Doubts

Problems

Topic: Character Unicode, Code Point Support In Java

Read this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App