What is difference between pop and oop?
No Answer is Posted For this Question
Be the First to Post Answer
Explain polymorphism? What r the types of polymorphism? pls give examples?
write a program that takes input in digits and display the result in words from 1 to 1000
What is coupling in oops?
tell about copy constructor
Why is polymorphism needed?
What are virtual functions?
What is this pointer in oop?
What is encapsulation example?
Why it is called runtime polymorphism?
what is the use of classes in c++;
What is difference between pop and oop?
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.