Single Choice
Moderate
Qtrue && false gives:
ID: #25908
MCQ Quiz - Class 8 - Decision Control Structure
2 views
Question Info
#25908Q 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:
AND returns true only when BOTH are true. Here, false makes the result false.
Why the other options are incorrect:
- Option B: AND requires both true; one false makes it false.
- Option C: Java booleans are true/false, not 1/0.
- Option D: Java booleans are true/false, not 1/0.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic