Menu
Question Index
...

Which of the following is incorrect?

X: String is not a primitive data type in Java, even though it is one of the most extensively used object.
Y: Java initializes primitive types to default values. Thus an int will be initialized to a reference value and a boolean will be initialized to false.


X only
Y only
Both are correct
Both are incorrect

Doubts

Problems

Topic: Advanced Java Programming Concepts

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App