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


Please Help Members By Posting Answers For Below Questions

What are the benefits of polymorphism?

888


Why interface is used?

778


What is object-oriented programming? Webopedia definition

977


What is class and object in oops?

861


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.

973


Why is polymorphism used?

804


What is inheritance in oop?

823


What is the oops and benefits of oops programming?

764


What is the important feature of inheritance?

886


Describe these concepts: Polymorphism, Inheritance and Abstraction.

906


How do you achieve runtime polymorphism?

770


Can main method override?

861


Give two or more real cenario of virtual function and vertual object

2102


What is polymorphism what are the different types of polymorphism?

778


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?

1644