What is the primary purpose of a constructor in object-oriented programming?
To initialize the object's state
To inherit properties from other objects
To create new instances of the object
To define the object's behavior

Object-Oriented Programming Exercises are loading ...