What are the advantages of inheritance?

Answers were Sorted based on User's Feedback



What are the advantages of inheritance?..

Answer / sai

Reusability means making it usable again

Is This Answer Correct ?    5 Yes 0 No

What are the advantages of inheritance?..

Answer / 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

What are the advantages of inheritance?..

Answer / george tsiga

1. Promotes reusability
2. Helps in better abstraction, thereby resulting in better
design.
3. Eliminates duplication of code

Is This Answer Correct ?    2 Yes 0 No

What are the advantages of inheritance?..

Answer / parna mazumdar

1.Reusability

2.Extendibility

3.Maintainability

Is This Answer Correct ?    1 Yes 0 No

What are the advantages of inheritance?..

Answer / raju

inheritence provides less code.and we can add the further enhancement of code with out modifying the parent class.and with this it provides code reusebulity.

Is This Answer Correct ?    1 Yes 0 No

What are the advantages of inheritance?..

Answer / 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

What are the advantages of inheritance?..

Answer / malar

It helps to acquire the features of base class.

Is This Answer Correct ?    0 Yes 0 No

What are the advantages of inheritance?..

Answer / haneet kaur

1. Reuse of existing code and program functionality: the program does not have to write and re-write the same code for logically same problem.
2. Less labour intensive: the programmers do not have to rewrite the same long similar program just because the application to be developed has slightly different requirements.
3. Well organised. the object are well organised in a way that they follow some hierarchy.

Is This Answer Correct ?    1 Yes 1 No

What are the advantages of inheritance?..

Answer / 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

What are the advantages of inheritance?..

Answer / 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

More OOPS Interview Questions

What does enum stand for?

0 Answers  


What will happen when the following code is run: int x; while(x<100) { cout<<x; x++; } 1) The computer will output "0123...99" 2) The computer will output "0123...100" 3) The output is undefined

7 Answers  


What is overriding in oops?

0 Answers  


what is the virtual function overhead, and what is it used for ? i hope i can get and appropriate answers, thanks a lot....

6 Answers  


What is OOPS and How it is different from Procedural Programming ?

23 Answers   HP, Infosys, Thyrocare,






what is meant by files?

4 Answers   Infosys,


A file pointer always contains the __________ of the file

5 Answers  


What is oops in simple words?

0 Answers  


What is encapsulation in ict?

0 Answers  


What is class and object with example?

0 Answers  


What is the purpose of polymorphism?

0 Answers  


write a programe to calculate the simple intrest and compund intrest using by function overlading

0 Answers  


Categories