Menu
Question Index
...

Which of the following declaration(s) is/are correct?

1. boolean b = TRUE;
2. byte b = 255;
3. String s = "null";
4. int i = new Integer("56");


1 & 2
2 & 3
3 & 4
2, 3 & 4
All of the above

Doubts

Problems

Topic: Java Number Class

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App