Answer Posted / sumiya yeasmin shorna
ploymorphism is a form of simple name multiple
implementation or method and also polymorphism is a function
overloading.
example:
void myclass();
void ~myclass();
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Which is not an object oriented programming language?
Is this job good for future? can do this job post grduate student?
What is multilevel inheritance?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What is the oops and benefits of oops programming?
any one please tell me the purpose of operator overloading
Can we override main method?
What are the types of abstraction?
What is ambiguity in inheritance?
Why do we use oop?
What is encapsulation in simple terms?
What is the point of oop?
Prepare me a program for the animation of train
why reinterpret cast is considered dangerous?
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.