Single Choice Moderate

QAre identifiers case-sensitive in Java?

ID: #25812 MCQ Quiz - Class 8 - Programming 5 views
Question Info
#25812Q ID
ModerateDifficulty
MCQ Quiz - Class 8 - ProgrammingTopic

Choose the Best Option

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

  • A Yes
  • B No
  • C Sometimes
  • D Never
Correct Answer

Explanation

Correct Answer Explanation:

Java identifiers ARE case-sensitive. 'age', 'Age', and 'AGE' are three DIFFERENT identifiers in Java.

Why the other options are incorrect:

  • Option B: Java is case-sensitive — 'No' is incorrect.
  • Option C: 'Sometimes' is wrong — it's ALWAYS case-sensitive.
  • Option D: 'Never' is completely wrong — Java always treats different cases as different names.

Share This Question

Challenge a friend or share with your study group.