What are the advantages of inheritance?

Answers were Sorted based on User's Feedback



What are the advantages of inheritance?..

Answer / sudhir kumar

The main advantage of the inheritance is that we can acheive
encapsulation because there is early binding in inheritance.
Means our derived class object is already fix to all
appropriate classes functions. And encapsulation is so
because any body do not know that what are the names of base
classes and their information.

And as every one knows Reuseability....

Is This Answer Correct ?    0 Yes 0 No

What are the advantages of inheritance?..

Answer / parul.kataria007@gmail.com

by inheritance,we can create a link b/w the inherited class....

such that if we inherit class B from an existing class A and C from B,then we can use A and C together by inheritance... ennie

Is This Answer Correct ?    0 Yes 0 No

What are the advantages of inheritance?..

Answer / gunjan jain

1.re-usability
2.consumes less time(less efforts)
3.increase reliablity.
4.easy debugging
5.data hiding(using private,protected modes)..

Is This Answer Correct ?    0 Yes 0 No

What are the advantages of inheritance?..

Answer / sarmistha nayak

codereusebility

Is This Answer Correct ?    0 Yes 0 No

What are the advantages of inheritance?..

Answer / tanis

Hi guys, I recently attended one interview and the
interviewer was a sarky, crack and he thinks that he is a
geek... i gave all the explanation what you have written
abv and nothing could convince him. I also told him that we
can hide the implementation by putting it in a separate
dll, or unicode file but in vain...

Is This Answer Correct ?    18 Yes 22 No

What are the advantages of inheritance?..

Answer / mr manu

Sathyayittum enikk ariyyilla...................

Is This Answer Correct ?    22 Yes 57 No

Post New Answer

More OOPS Interview Questions

which feature are not hold visual basic of oop?

0 Answers   Ignou,


Why do we need polymorphism in c#?

0 Answers  


Write a program in c++ to read two floating point numbers and find their sum and average.

2 Answers  


What is inheritance write a program to show use of inheritance?

0 Answers  


what is costructor?

1 Answers  






How to overload new operator in c++

2 Answers  


sir i want to know which posting to apply since i am BE CSE.. also want to know what are the rounds there for my interview...Expecting for ur valuable answer....

2 Answers  


What is the example of polymorphism?

0 Answers  


What type of loop is a for loop?

0 Answers  


#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; wow *b; a.x = 22; b = &a; a.x = 23; cout << b->x; return 0; }

1 Answers  


In what situation factory design patterns,DAO design patterns,singleton design patterns should be applied.?

2 Answers  


Name an advantage of array over linked list?

24 Answers   GML, IBM, Software Solutions,


Categories