Multiple choice technology programming languages

Booleans are _______.

  1. True or False

  2. Single characters

  3. Text

  4. All numbers

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

Boolean is a primitive data type in Java (and most programming languages) that represents one of two possible values: true or false. Booleans are used for conditional logic and control flow. They are not single characters (that's char), text (that's String), or all numbers (that's numeric types like int, double).