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

assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

1662


What is an advantage of polymorphism?

589


How do you achieve runtime polymorphism?

569


What is the oops and benefits of oops programming?

549


What makes a language oop?

593






What is abstract class in oop?

528


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1413


State what is encapsulation and friend function?

695


What is the use of oops?

618


What is difference between oop and pop?

611


Why do we use polymorphism in oops?

575


What is new keyword in oops?

588


What is inheritance write a program to show use of inheritance?

611


Whats is abstraction in oops?

589


What is interface in oop?

659