Menu
Question Index
...

What will be the output of the following program?

public class Cricketers {
    public static void main(String[] args) {
        char sachin;
        char dravid;
        sachin = '\u007F';
        dravid = '7';
        boolean kohli;
        boolean raina;
        kohli = Character.isIdentifierIgnorable(sachin);
        raina = Character.isIdentifierIgnorable(dravid);
        System.out.println(kohli);
        System.out.println(raina);
    }
}


true
false
false
false
true
true
false
true
Compilation Error or Runtime Error

Doubts

Problems

Topic: Java Character Class

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App