Vidyalelo
Java Programming · Q32

Data Types and Variables

Programming · Java Programming · question 32

Q32

How many primitive data types are there in Java?

A.
6
B.
7
C.
8
Answer
D.
9

Answer: Option C

Solution

Answer: Option C
Solution:
Primitive types are the most basic data types available within the Java language. There are 8: boolean , byte , char , short , int , long , float and double .