Single Choice Moderate

Qboolean stores:

ID: #25821 MCQ Quiz - Class 8 - Programming 4 views
Question Info
#25821Q ID
ModerateDifficulty
MCQ Quiz - Class 8 - ProgrammingTopic

Choose the Best Option

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

  • A true or false
  • B Numbers
  • C Characters
  • D Strings
Correct Answer

Explanation

Correct Answer Explanation:

boolean stores only two possible values: true or false. Perfect for yes/no decisions.

Why the other options are incorrect:

  • Option B: Numbers use int/float/double.
  • Option C: Characters use char.
  • Option D: Strings use the String type.

Share This Question

Challenge a friend or share with your study group.