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
What is abstraction in oops with example?
What is oops with example?
What is constructor in oop?
What is a null tree?
Why it is called runtime polymorphism?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What are the 4 pillars of oop?
Is oop better than procedural?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
Is react oop?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is polymorphism and example?
What are the 3 pillars of oop?
What is cohesion in oop?
What is property in oops?