Home / Programming MCQs / JAVA MCQs / Question

D

Deepak Sahoo • 10.60K Points
Tutor II

Q. Which of the following is not a primitive data type in Java?

(A) Boolean
(B) Character
(C) String
(D) Byte
Explanation by: Deepak Sahoo
String is a class in Java and not a primitive data type.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.