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 answer is correct because there are 8 primitive data types in java. These are ByteShortIntLongDoubleCharFloatBoolean.