write a program which best describes polymorphism in real
world?
Answer Posted / renjitha r kumar
single man behave differently in differnt situations
Is This Answer Correct ? | 21 Yes | 2 No |
Post New Answer View All Answers
How Do you Code Composition and Aggregation in C++ ?
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.
2. Give the different notations for the class.\
what is the sylabus for priliminaries?
What type of loop is a for loop?
What is oops with example?
What are the advantages of polymorphism?
What is oops in programming?
How to use CMutex, CSemaphore in VC++ MFC
What is difference between inheritance and polymorphism?
What is class and example?
what are the different types of qualifier in java?
What are the components of marker interface?
Get me a number puzzle game-program
write a program to find 2^n+1 ?