MCQ
Single Best Answer
Easy
QWhich of the following is a valid java keyword?
ID: #24258
ICSE Computer Application - Class X - 2025 SPECIMEN QUESTION PAPER
44 views
Question Info
#24258Q ID
EasyDifficulty
ICSE Computer Application - Class X - 2025 SPECIMEN QUESTION PAPERTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option C
Explanation
Java keyword rules:
-
Java keywords are case-sensitive.
-
They must be written in lowercase only.
Options:
(a) If → ❌ Invalid (Java keyword is lowercase if)
(b) BOOLEAN → ❌ Invalid (Java keyword is lowercase boolean)
(c) static → ✅ Valid keyword (used to declare class-level variables/methods)
(d) Switch → ❌ Invalid (Java keyword is lowercase switch)
✅ Answer: (c) static
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic