MCQ Single Best Answer Easy

QWhat is the numerical range of a boolean data type in Java?

ID: #22190 boolean - Data Type in Java 77 views
Question Info
#22190Q ID
EasyDifficulty
boolean - Data Type in JavaTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A true or false
  • B 0 to 255
  • C -128 to 127
  • D -32768 to 32767
Correct Answer: Option A

Explanation

The boolean data type in Java represents true or false values, and it does not have a numerical range.

No Previous Next Question

Share This Question

Challenge a friend or share with your study group.

Related MCQ Questions