Multiple choice

Which of the following is class instance for the Primitive Type Boolean?

  1. boolean.class

  2. Boolean.type

  3. boolean.Class

  4. Boolean.Class

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

Boolean.TYPE is the Class object representing the primitive type boolean.