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


Please Help Members By Posting Answers For Below Questions

How Do you Code Composition and Aggregation in C++ ?

24205


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.

635


2. Give the different notations for the class.\

1594


what is the sylabus for priliminaries?

1692


What type of loop is a for loop?

686






What is oops with example?

566


What are the advantages of polymorphism?

577


What is oops in programming?

570


How to use CMutex, CSemaphore in VC++ MFC

4333


What is difference between inheritance and polymorphism?

576


What is class and example?

569


what are the different types of qualifier in java?

1847


What are the components of marker interface?

606


Get me a number puzzle game-program

1696


write a program to find 2^n+1 ?

1555