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 oops methods?
What is difference between inheritance and polymorphism?
What is destructor example?
What are two types of polymorphism?
what is different between oops and c++
Which is not an object oriented programming language?
What is polymorphism and its types?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What is the difference between procedural programming and oops?
What is meant by multiple inheritance?
What is data binding in oops?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
What causes polymorphism?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is class and object in oops?