What is inheritance in OOP and advantages?

As the existing code is reused, it leads to less development and maintenance costs. Inheritance makes the sub classes follow a standard interface. Inheritance helps to reduce code redundancy and supports code extensibility . Inheritance facilitates creation of class libraries.

Sizin İçin Seçtik  What is inheritance and what are the types of inheritance?

Leave a Reply

Your email address will not be published. Required fields are marked *

What is inheritance in OOP and advantages?

As the existing code is reused, it leads to less development and maintenance costs. Inheritance makes the sub classes follow a standard interface. Inheritance helps to reduce code redundancy and supports code extensibility . Inheritance facilitates creation of class libraries.

Sizin İçin Seçtik  What is the difference between multilevel and multiple inheritance in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *