A constructor is a special type of:
-
class.
-
field.
-
method.
-
property.
-
variable.
C
Correct answer
Explanation
A constructor is a special method that initializes objects when they are created. It shares the same name as the class and has no return type, not even void. Constructors set initial values for fields and perform any necessary setup when an instance is created.