Answer Posted / kavita
objects are defined as real world entities that are
instances of a class
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Can you explain polymorphism?
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).
Can we create object of interface?
What is difference between oop and pop?
What is interface in oop?
What is protected in oop?
What is a superclass in oop?
Who invented oop?
Which is not an object oriented programming language?
What is the full form of oops?
What is polymorphism oop?
#include
What is super in 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.
Can a destructor be called directly?