MCQ
Single Best Answer
Easy
QAssertion (A): Integer class can be used in the program without calling a package.
Reason (R): It belongs to the default package java.lang.
ID: #24268
ICSE Computer Application - Class X - 2025 SPECIMEN QUESTION PAPER
55 views
Question Info
#24268Q 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 A
Explanation
Let's analyze carefully:
Assertion (A): Integer class can be used in the program without calling a package.
-
✅ True. You can use
Integerdirectly without an import statement.
Reason (R): It belongs to the default package java.lang.
-
✅ True. Classes in
java.langare automatically imported in every Java program.
Is Reason (R) the correct explanation of Assertion (A)?
-
✅ Yes. The reason explains exactly why
Integercan be used without explicitly importing a package.
Answer: (a) Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A)
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic