Answer Posted / ranjith jayan
a class is a collection of similar objects. ex: orange is
an object for the class fruits
| Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
What is class and example?
What are the components of marker interface?
What is encapsulation in oops?
What is static in oop?
What is this pointer in oop?
What does <> mean pseudocode?
How does polymorphism work?
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.
#include
What is solid in oops?
Are polymorphisms mutations?
Can bst contain duplicates?
What is stream in oop?
Which is better struts or spring?
What is basic concept of oop?