Answer:
A constructor allows us to create a new instance of a class, usually initializing instance variables.
Step-by-step explanation:
When a new object is created, the constructor is called. A constructor can be used to set initial values for object attributes.