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
What is difference between class and object with example?
Is this job good for future? can do this job post grduate student?
Why is abstraction used?
What is protected in oop?
Where You Can Use Interface in your Project
Why do we use oops?
What is encapsulation in oop?
What is multilevel inheritance in oop?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
What is multilevel inheritance explain with example?
Which type does string inherit from?
What is encapsulation with real life example?
What is polymorphism what is it for and how is it used?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is polymorphism explain?