What is multiple inheritance ?
Answer Posted / rohan
[Base Classes]
music name height
\\ || //
\\ || //
\\ || //
\\ || //
Musician
[Example of multiple
inheritance]
Def.: A class derived from 2 or more superclass is called a
class inherited from by multiple inheritance.
Is This Answer Correct ? | 21 Yes | 1 No |
Post New Answer View All Answers
What are the benefits of polymorphism?
Why interface is used?
What is object-oriented programming? Webopedia definition
What is class and object in oops?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
Why is polymorphism used?
What is inheritance in oop?
What is the oops and benefits of oops programming?
What is the important feature of inheritance?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
How do you achieve runtime polymorphism?
Can main method override?
Give two or more real cenario of virtual function and vertual object
What is polymorphism what are the different types of 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?