What are the advantages of inheritance?
Answer Posted / krish
fine all the above answers saying inheritance is mainly used to reusing the code so development time reduses.ok fine
to reuse the already created class we can use reference of that class directly. then why we go for the inheritance?.
i think by using object references complexity will increases.It creates confusion to users.
and by creating reference another object is created. so memory wastage here.
i don't know exactly .....If there r any answers please post.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are oops methods?
Explain virtual inheritance?
Plese get me a perfect C++ program for railway/airway reservation with all details.
Why do we need oop?
What is overloading in oops?
Explain the concepts involved in Object Oriented programming.
What do you mean by Encapsulation?
What is ambiguity in inheritance?
What is oops?what is its use in software engineering?
What language is oop?
What is data binding in oops?
What is the renewal class?
What is the important feature of inheritance?
Is enum a class?
What is oops and why we use oops?