What is Inheritance, Multiple Inheritance, Shared and
Repeatable Inheritance?
Answers were Sorted based on User's Feedback
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 |
Answer / srinivas
Inheritence is the mechanisum by which one obj aquiers the
properties of another object .By which we can achhive the
hirearchial classiffication.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / 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 |
Answer / himanshu
Inheritance in java is actually using existing classes or interfaces to make our one useful class or interface..it's main purpose is code reuse..a major concept in Object oriented programming!!
Is This Answer Correct ? | 2 Yes | 0 No |
what is ns string? what is ns array?
How is the using() pattern useful? What is IDisposable? How does it support deterministic finalization?
What is difference between class and object with example?
What does I oop mean?
Write a program to find out the number of palindromes in a sentence.
What is multiple inheritance?
Difference between new operator and operator new
Write a c++ program to display pass and fail for three student using static member function
what is multithreading in c++ , what is difference between multithreading and singlethreading.
sir plz send me a set of questions that been frequently held in written examination during campus selection.
what is the new version of oops
What are virtual classes?