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


Please Help Members By Posting Answers For Below Questions

What is difference between class and object with example?

560


Is this job good for future? can do this job post grduate student?

1688


Why is abstraction used?

599


What is protected in oop?

598


Where You Can Use Interface in your Project

1421






Why do we use oops?

589


What is encapsulation in oop?

601


What is multilevel inheritance in oop?

553


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

2141


What is multilevel inheritance explain with example?

623


Which type does string inherit from?

608


What is encapsulation with real life example?

566


What is polymorphism what is it for and how is it used?

570


write a program to find 2 power of a 5digit number with out using big int and exponent ?

1891


What is polymorphism explain?

680