Which of the following is NOT a primitive data type in Java?
Show answerHide answer
Correct answer: (D) String
Explanation
String is a class.
Correct answer: (D) String
Explanation
String is a class.
This is question 140 of DSSSB TGT Computer Science Full Mock Test 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.