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
What are the features of oop?
explain sub-type and sub class? atleast u have differ it into 4 points?
Why is encapsulation used?
What are constructors in oop?
What is an advantage of polymorphism?
write knight tour problem which is present in datastructure
Can we have inheritance without polymorphism?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
Is this job good for future? can do this job post grduate student?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What is constructor overloading in oop?
Why is polymorphism needed?
Write a program to sort the number with different sorts in one program ??
What is the difference between encapsulation and polymorphism?
what are the different types of qualifier in java?