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

This is correct choice because there are 8 primitive data types in Java. These are: ByteShortIntLongDoubleCharFloatBoolean. So, this is correct answer.