What are the advantages of inheritance?
Answer Posted / siddhartha
The advantage of inheritance are:
1.Reusability
2.Code sharing
3.Software component
4.Information hiding
5.Rapid prototyping
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What is protected in oop?
What does and I oop mean?
Write a program to sort the number with different sorts in one program ??
Why multiple inheritance is not allowed?
Is react oop?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is constructor overloading in oop?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What are the important components of cohesion?
How to use CMutex, CSemaphore in VC++ MFC
What do you mean by abstraction?
What is the difference between abstraction and polymorphism?
What is the highest level of cohesion?
What is methods in oop?