Does c++ support multilevel and multiple inheritance?
Answer Posted / yagya
yes
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is this pointer in oop?
What does I oop mean?
What is inheritance and how many types of inheritance?
What polymorphism means?
what are the ways in which a constructors can be called?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What are benefits of oop?
What is object in oop with example?
What is a null tree?
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 is encapsulation in oops?
Can we have inheritance without polymorphism?
What is static in oop?
What is encapsulation oop?
State what is encapsulation and friend function?