What is Inheritance, Multiple Inheritance, Shared and
Repeatable Inheritance?
Answers were Sorted based on User's Feedback
The mechanism of deriving a new class from an old one is
called inheritance.the old ones is called the base class
and the new one is called the derived or sub class.
MULTIPLE INHERIENCE:one depived class from many base class
is reffered to MI.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / srinivas
Inheritence is the mechanisum by which one obj aquiers the
properties of another object .By which we can achhive the
hirearchial classiffication.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / 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 |
Answer / himanshu
Inheritance in java is actually using existing classes or interfaces to make our one useful class or interface..it's main purpose is code reuse..a major concept in Object oriented programming!!
| Is This Answer Correct ? | 2 Yes | 0 No |
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
Do you know about multiple inheritance?
define oops with class and object
What is the full form of oops?
What is the difference between pass by value,pass by pointer,pass by reference in the catch block in the exception handling in c++
What's the full form of STL?
Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.
how can we design a magic square in c++?or suggest me the basic idea of it.
what is the difference b/w abstract and interface?
2 Answers Merrill Lynch, Schneider, Scio Healthcare,
Why is destructor used?
Precompilation ?
Round up a Decimal number in c++.. example Note = 3.5 is as 4 3.3 is as 3
3 Answers Accenture, Cognizant, IBM,