What is Inheritance, Multiple Inheritance, Shared and
Repeatable Inheritance?
Answer Posted / vidhya alphonse
Inheritence is defined as the mechanism of deriving a new
class from an already existing class.The class from which
new class derived is called parent or bae class and the
derived one is called derived class.The new derived class
will have the characteristics of its own and the base class.
The main purpose of using inhertence concept is that
nothing but the reusability of code.Muliple inheritence
means deriving a new class from one or more base class.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Why we use classes in oop?
how to get the oracle certification? send me the answer
What is polymorphism used for?
What is polymorphism give a real life example?
What is the fundamental idea of oop?
what are the realtime excercises in C++?
What is inheritance in simple words?
What is the significance of classes in oop?
Can private class be inherited?
What is oops and its features?
How do you answer polymorphism?
Explain the concepts involved in Object Oriented programming.
Why do we need polymorphism in c#?
What is encapsulation c#?
write a program to find 2^n+1 ?