Q. Which method is automatically called when a new object is created?
β
Correct Answer: (A)
constructor
Explanation: The constructor() method is automatically invoked when an instance is created.