Answer Posted / maahi
polymorphism is an oops concept,it meanse the ability to
take more than one form.polymorphism allows different object
ti respond to the same message in diffent ways.
there are two
types of polymorphism.
1.compile time
2.run time
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
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 polymorphism and example?
What does and I oop mean?
Can you explain polymorphism?
What is the types of inheritance?
what are the different types of qualifier in java?
How Do you Code Composition and Aggregation in C++ ?
What does no cap mean?
Which is better struts or spring?
What is polymorphism in oop example?
what's the basic's in dot net
Write a c++ program to display pass and fail for three student using static member function
How do you explain polymorphism?
What is constructor overloading in oop?
What is abstraction and encapsulation?