What is the purpose of a constructor in OOP?
PYQ Bihar STET 2025
What is the purpose of a constructor in OOP?
- A.
To destroy objects
- B.
To create instances of abstract classes
- C.
To initialize object properties
- D.
To define abstract methods
Attempted by 1234 students.
Sign up free to check your answer
Sign up freeExplore the full course: Bihar Stet Computer Science Complete Course
Loading lesson…

