What are the advantages of inheritance?
Answer Posted / maragatham
inheritance helps to avoid writing code again and again.
it helps us to reduce the size of the code
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How can you overcome the diamond problem in inheritance?
What is abstraction in oops with example?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is super in oop?
What is polymorphism and types?
What is constructor in oop?
Explain the concepts involved in Object Oriented programming.
what is the sylabus for priliminaries?
What is constructor overloading in oop?
What is the main purpose of inheritance law?
What is the difference between a constructor and a destructor?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is variable example?
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?
What is the difference between inheritance and polymorphism?