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  Where polymorphism is used in real-life?

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  How do you boost a band 71?

Leave a Reply

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