Difference between over loading and over ridding?
Answer Posted / varsha vilas kalebag
over loading is nothing but
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
What are the 3 principles of oop?
What are the three main types of variables?
What are the 3 pillars of oop?
Advantage and disadvantage of routing in telecom sector
When not to use object oriented programming?
Is abstract thinking intelligence?
What exactly is polymorphism?
What is the diamond problem in inheritance?
What is abstraction oop?
Can we create object of interface?
What is object in oop with example?
What is the important feature of inheritance?
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.
What is methods in oop?