Importance of constructors Constructors are used to initialize the objects of the class with initial values . Constructors are invoked automatically when the objects are created. Constructors can have default parameters. … A constructor can be used explicitly to create new objects of its class type.