Re-usability : Inheritance helps derived class to use methods of base class without rewriting them Extensibility : Extending the base class logic as per business logic of the derived class Data hiding : Allows base class to keep some private data which can't be altered by the derived class
Can you answer this question?
Write Answer1 Answers