What are the advantages of inheritance?

Answer Posted / murugesan.s

There are two main advantage...!

1.Maintainability-> Easy to identify the error.

2.Reusability.

Is This Answer Correct ?    33 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oops and its features?

592


What is a superclass in oop?

671


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1647


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

3848


what are the realtime excercises in C++?

2337






Why is polymorphism important in oop?

637


What is encapsulation in oops?

541


What is the purpose of polymorphism?

683


What are functions in oop?

586


What is interface in oop?

664


what type of questions

1697


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1395


Can static class have constructor?

587


What is the difference between encapsulation and polymorphism?

598


What are benefits of oop?

641