what is the basic concept of inheritance?

Answer Posted / sandeep

Inheritance refers to, the object of one class acquires
the properties of object of another class.

Ex: 'robbin' belongs to the catagiry 'flying bird' but it
also belongs to the catagiry of 'bird'.

Thus it refers to,each derived class shares comman
characteristics with the class from which it is derived.

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is for loop and its syntax?

599


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1419


What is purpose of inheritance?

645


What is destructor in oop?

627


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

617






What is oops and its features?

593


What is overloading and its types?

621


What is inheritance in oop?

606


write string class as your own class in java without using any built-in function

1981


What is an advantage of polymorphism?

601


officer say me - i am offered to a smoking , then what can you say

1586


What is oops in programming?

570


What is difference between multiple inheritance and multilevel inheritance?

606


What is persistence in oop?

677


What is this pointer in oop?

557