MCQ
Q.
A constructor is called when:
Correct Answer: A
A constructor is called when an object is created. In class-based object-oriented programming, a constructor in a class is a special type of subroutine called to create an object. It prepares the new object for use, often accepting arguments that the constructor uses to set required member variables.

