What is Dynamic Polymorphism?

Answer Posted / irfan

there are two type polymorphism use in c++ first is static
and second is dynamic static polymorphism is function
overloading oprater overloading & dynamic is virtual function.

Is This Answer Correct ?    27 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object in oop?

671


What is difference between polymorphism and inheritance?

611


What is polymorphism and its types?

587


What is polymorphism what are the different types of polymorphism?

553


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4232






Who invented oop?

644


Can an interface inherit a class?

552


What does sksksk mean in text slang?

1514


Templates mean

1582


What is encapsulation c#?

597


What is an advantage of polymorphism?

585


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.

622


When not to use object oriented programming?

563


What is property in oops?

559


Why do we use class?

626