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 are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

1660


Can you inherit a private class?

645


Why interface is used?

562


What is the important feature of inheritance?

641


What is polymorphism give a real life example?

572






What is abstraction encapsulation?

668


how to get the oracle certification? send me the answer

1679


write a C++ program for booking using constructor and destructor.

2061


What is an example of genetic polymorphism?

658


Why do we need polymorphism in c#?

698


What is polymorphism in oop example?

526


Can static class have constructor?

595


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2114


What is polymorphism what are the different types of polymorphism?

573


Which language is not a true object oriented programming language?

652