Home / Programming MCQs / JAVA MCQs / Question

M

Manisha Agrawal • 9.32K Points
Tutor III

Q. How many primitive data types are there in Java? 

(A) 6
(B) 7
(C) 8
(D) 9
Explanation by: Lalit Singh
There are 08 primitive data types

Byte
Short
Int
Long
Float
Double
Char
Boolean.

Note :- string is non-primitive data type.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.