Multiple choice

What data type would I use for the following: false

  1. char

  2. boolean

  3. String

  4. int

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

The value false is a logical value representing one of two states, which is the definition of a boolean data type.