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
What is oops and its features?
What is a superclass in oop?
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).
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
what are the realtime excercises in C++?
Why is polymorphism important in oop?
What is encapsulation in oops?
What is the purpose of polymorphism?
What are functions in oop?
What is interface in oop?
what type of questions
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?
Can static class have constructor?
What is the difference between encapsulation and polymorphism?
What are benefits of oop?