What are the advantages of inheritance?
Answer Posted / qureshi s.
In inheritance , we acquire or inherite the properties of
existing class. i.e here reusability is occur which means
that we can add the additional feauters into an existing
class without modifying it.
inheritance saves the programmer time and effort. written
can be reused in various situations as needed.
It Increases Program Structure which results in greater
reliability.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why is polymorphism needed?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
Where is pseudocode used?
How to use CMutex, CSemaphore in VC++ MFC
What is inheritance in simple words?
Why is object oriented programming so hard?
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 destructor be overloaded?
What is the difference between encapsulation and polymorphism?
write a programe to calculate the simple intrest and compund intrest using by function overlading
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is difference between multiple inheritance and multilevel inheritance?
What is basic concept of oop?
Whats is abstraction in oops?
What is solid in oops?