Answer Posted / anjana
SINGLE INHERITANCE:
ONE BASE CLASS HAVING ONE DERIVED CLASS MEANS THAT IS CALLED SINGLE INHERITANCE.
EXAMPLE:
[A]------->BASE CLASS
|
V
[B]------->DERIVED CLASS
| Is This Answer Correct ? | 39 Yes | 4 No |
Post New Answer View All Answers
What is polymorphism what is it for and how is it used?
What is polymorphism in oops with example?
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?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
Can we create object of interface?
write knight tour problem which is present in datastructure
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
Why is destructor used?
What is ambiguity in inheritance?
What are the important components of cohesion?
Why do we use polymorphism?
What is polymorphism give a real life example?
Where You Can Use Interface in your Project
What is an example of genetic polymorphism?
What is the important feature of inheritance?