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

Choose the Best Option

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

  • A Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A)
  • B Both Assertion (A) and Reason (R) are true and Reason (R) is not a correct explanation of Assertion(A)
  • C Assertion (A) is true and Reason (R) is false
  • D Assertion (A) is false and Reason (R) is true
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 Integer directly without an import statement.

Reason (R): It belongs to the default package java.lang.

  • ✅ True. Classes in java.lang are automatically imported in every Java program.

Is Reason (R) the correct explanation of Assertion (A)?

  • ✅ Yes. The reason explains exactly why Integer can 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)

Share This Question

Challenge a friend or share with your study group.