what is multi level inheritance give n example ?

Answer Posted / ashok kumar nayak

To creat a new class from a base class which is in terms of
derive from another base class is known as multilevel
inheritance.

Is This Answer Correct ?    36 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ambiguity in inheritance?

622


Templates mean

1587


Why is static class not inherited?

591


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.

626


What are the 4 main oop principles?

678






What is static modifier?

630


How to use CMutex, CSemaphore in VC++ MFC

4326


What is destructor example?

593


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?

1403


What is abstract class in oops?

596


what is different between oops and c++

1999


What is object in oops?

611


What is difference between oop and pop?

611


What is class and object with example?

583


What is encapsulation selenium?

553