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
What is ambiguity in inheritance?
Templates mean
Why is static class not inherited?
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.
What are the 4 main oop principles?
What is static modifier?
How to use CMutex, CSemaphore in VC++ MFC
What is destructor 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?
What is abstract class in oops?
what is different between oops and c++
What is object in oops?
What is difference between oop and pop?
What is class and object with example?
What is encapsulation selenium?