What is Inheritance, Multiple Inheritance, Shared and
Repeatable Inheritance?
Answer Posted / mahesh kumar
The mechanism of deriving a new class from an old one is
called inheritance.the old ones is called the base class
and the new one is called the derived or sub class.
MULTIPLE INHERIENCE:one depived class from many base class
is reffered to MI.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
write a C++ program for booking using constructor and destructor.
What are the types of abstraction?
write a program to find 2^n+1 ?
any one please tell me the purpose of operator overloading
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is encapsulation with example?
What is the purpose of polymorphism?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What are the data types in oop?
Why do pointers exist?
What is variable example?
Can destructor be overloaded?
How do you define social class?
How do you use inheritance in unity?
class type to basic type conversion