Single Choice
Moderate
QWhich operator is for equality?
ID: #25883
MCQ Quiz - Class 8 - Programming
4 views
Question Info
#25883Q ID
ModerateDifficulty
MCQ Quiz - Class 8 - ProgrammingTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
Correct Answer Explanation:
== compares two values to check equality. It returns a boolean (true if equal, false otherwise).
Why the other options are incorrect:
- Option B: Single = is assignment, not comparison.
- Option C: ! is logical NOT.
- Option D: > is 'greater than', not equality.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic