Answer Posted / guest
object oriented programmings
| Is This Answer Correct ? | 13 Yes | 15 No |
Post New Answer View All Answers
How is polymorphism achieved?
What are the components of marker interface?
#include
What is coupling in oops?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What is oops and why we use oops?
What is polymorphism and types?
What is difference between pop and oop?
What is the types of inheritance?
Can enum be null?
What is the advantage of oop over procedural language?
c++ program to swap the objects of two different classes
What is encapsulation process?
What is polymorphism explain its types?
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.