MCQ Single Best Answer Moderate

QAssertion (A): Constructors are invoked directly when an object is created. Reason (R): Constructors are not used to initialize the instance of classes.

ID: #23891 ICSE Computer Application - Class X - Selection Examination - 2024-25 - MCQ - CALCUTTA PUBLIC SCHOOL 76 views
Question Info
#23891Q ID
ModerateDifficulty
ICSE Computer Application - Class X - Selection Examination - 2024-25 - MCQ - CALCUTTA PUBLIC SCHOOLTopic

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 the correct explanation of Assertion (A).
  • B Both Assertion (A) and Reason (R) are true, and Reason (R) is not the 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 C

Explanation

Assertion (A): True. Constructors are invoked automatically when an object is created to initialize the object.

Reason (R): False. Constructors are specifically designed to initialize the instance variables of a class.

Share This Question

Challenge a friend or share with your study group.