Multiple choice

How many primitive data types are available in Java?

  1. 9

  2. 6

  3. 8

  4. 7

  5. 5

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

There are 8 primitive data types in java. These are:-ByteShortIntLongDoubleCharFloatBoolean. So, this is correct answer.