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 that can only hold two literal values: true or false. Booleans are used for conditional logic and cannot represent characters, text, or numeric values.