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 is polymorphism important in oop?
What is the example of polymorphism?
What is purpose of inheritance?
c++ program to swap the objects of two different classes
What is methods in oop?
Why do we use oop?
Can static class have constructor?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is polymorphism and example?
Why multiple inheritance is not possible?
What is meant by multiple inheritance?
What is inheritance write a program to show use of inheritance?
What is debug class?what is trace class? What differences are between them? With examples.
How does polymorphism work?
How do you achieve polymorphism?