Answer Posted / guest
/*.....................*/
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is encapsulation selenium?
What are the benefits of oop?
What is multilevel inheritance in oop?
What is polymorphism what are the different types of polymorphism?
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.
What is polymorphism and example?
What is inheritance in simple words?
What is abstraction example?
What is encapsulation in oops?
What is difference between inheritance and polymorphism?
Is html an oop?
Why interface is used?
What are the benefits of polymorphism?