Single Choice
Moderate
QSyntax: if (____) { ... }
ID: #25911
MCQ Quiz - Class 8 - Decision Control Structure
3 views
Question Info
#25911Q ID
ModerateDifficulty
MCQ Quiz - Class 8 - Decision Control StructureTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
Correct Answer Explanation:
The parentheses hold the CONDITION — a boolean expression that determines if the block runs.
Why the other options are incorrect:
- Option B: A value alone isn't a condition unless boolean.
- Option C: Text isn't a valid if condition in Java.
- Option D: Loops are separate constructs like for or while.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic