Q. What is the purpose of inheritance in OOP?
β
Correct Answer: (B)
To allow a class to inherit properties and behaviors from another class
You must be Logged in to update hint/solution