Advantages of Inheritance
In this lesson, you'll get to know about the advantages of using Inheritance.
We'll cover the following...
Re-usability
Inheritance makes the code reusable. Consider that you are up for designing a banking system using classes. Your model might have these:
- A base
BankAccount
class - A derived class named
SavingsAccount
- A derived class named
CheckingAccount
Access this course and 1400+ top-rated courses and projects.