Object-Oriented Programming (OOP)

What term describes the following? a special method automatically called when an object of a class is created, used to initialize it.

Correct answer

B. Constructor

Explanation

Constructor refers to a special method automatically called when an object of a class is created, used to initialize it.