Quizlearn
.app
In OOP, the purpose of a constructor is to:
Initialize an object's state when it is created.
Create multiple instances of an object.
Define the behavior of an object's methods.
Provide access to an object's private data.
Software Engineering Exercises are loading ...