Answer Posted / sanjeevkumar.v
push it mean INSERT the element to the STACK
| Is This Answer Correct ? | 10 Yes | 14 No |
Post New Answer View All Answers
What is oops with example?
What is meant by oops concept?
What is overloading and its types?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
What is encapsulation oop?
Why is oop better than procedural?
What is multilevel inheritance explain with example?
What is object-oriented programming? Webopedia definition
Is abstract thinking intelligence?
What is encapsulation in simple terms?
What is the real time example of encapsulation?
any one please tell me the purpose of operator overloading
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 a class and object?
Why do we need oop?