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 are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
Can you inherit a private class?
Why interface is used?
What is the important feature of inheritance?
What is polymorphism give a real life example?
What is abstraction encapsulation?
how to get the oracle certification? send me the answer
write a C++ program for booking using constructor and destructor.
What is an example of genetic polymorphism?
Why do we need polymorphism in c#?
What is polymorphism in oop example?
Can static class have constructor?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is polymorphism what are the different types of polymorphism?
Which language is not a true object oriented programming language?