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

Describe the elements of Microsoft Word screen. Write down steps for creating, saving, retrieving, editing and printing a document.

2 Answers  


Give two integer arrays A & B.A has n elements and B has ' n-1 ' elements . A has all the elements that are there in B. But B has one missing element. Write a function that takes arrays , A & B as imnput and finds the missing element in most optised manner .

4 Answers   Zycus Infotech,


write a piece of c++ code which allocate memory to the 50 object of type CObj

2 Answers  


What is the STL?

2 Answers   Epson, HP,


how to swap two numbers in a linked list without exchanging the data but only the links?

3 Answers   Wipro,






what is the difference between thread and process

1 Answers   Infosys,


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

0 Answers  


Give the output of the following program main() {char *p='a'; int *i=100/*p; } what will be the value of *i= 1

6 Answers   Sun Microsystems,


Define stl.

0 Answers  


what's the difference between abstract class and concreate class? what's the meaning of standard template library(STL)?

2 Answers  


What is the disadvantage of templates ?

2 Answers   NSN, Symphony,


what is strcture i++ i ++i answer to this i=5 what is the out put

6 Answers  


Categories