give me the defination of inheritance?

Answers were Sorted based on User's Feedback



give me the defination of inheritance?..

Answer / akhilesh tiwari

inheritance means object of one class acquire the properties of objects of another class.
inheritance primarily for the purpose of code reuse.

Is This Answer Correct ?    10 Yes 0 No

give me the defination of inheritance?..

Answer / munis

one class property derived another class by using extends keyword

Is This Answer Correct ?    2 Yes 0 No

give me the defination of inheritance?..

Answer / nidhi

inheritance is a aquer the base class property aquer the derived class property

Is This Answer Correct ?    1 Yes 0 No

give me the defination of inheritance?..

Answer / vishal

Inheritance allows a class to inherit attributes and
behaviors (methods) of another class.This allows creation
of brand new classes by abstracting out common attributes
and behavior.

The idea of inheritance is to go from general to specific
by factoring out commonality.
1.Code Reuse
2.Better overall design by organizing classes

Is This Answer Correct ?    0 Yes 0 No

give me the defination of inheritance?..

Answer / yuvi

An inheritance is money or property which you receive from
someone who has died.
like: she feared losing her inheritance to her stepmother.
or your inheritance is the particular characteristics or
qualities which your family or ancestors had and which you
are born with
like: Eye colour shows you genetic inheritance.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More STL Interview Questions

differentiate between private, public and protected data members of the class using example.

1 Answers  


help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase

1 Answers  


what is a template?

2 Answers   Amazon, BITS, IBS, Wipro,


write a program to convert a decimal number in to its equivalent binary number?

1 Answers  


Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.

1 Answers  


Explain when u will use Observer pattern and how u will implement in c++ .

1 Answers  


if 4-5 year old brother is standing on d roof with me and watching d moon, suddenly moon coverd by cloud then how will i explain d hiding of moon to my brother.

8 Answers   MBT,


What is Constructor

14 Answers   Angel Broking,


What is a standard template library (stl)? What are the various types of stl containers?

1 Answers  


method overloading means what?

2 Answers   CTS,


Find the error in the following program struct point {struct point *next; int data; } x; main() {int...data; } x; main() {int i; for(x=p;x!=0;) x=x->next,x++; freelist(x); } freelist(x) {free(x); return }

1 Answers   Sun Microsystems,


what's the difference between function overloading and function overiding?

5 Answers  


Categories