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
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).
What is an advantage of polymorphism?
How do you achieve runtime polymorphism?
What is the oops and benefits of oops programming?
What makes a language oop?
What is abstract class in oop?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< State what is encapsulation and friend function? What is the use of oops? What is difference between oop and pop? Why do we use polymorphism in oops? What is new keyword in oops? What is inheritance write a program to show use of inheritance? Whats is abstraction in oops? What is interface in oop?