What do you meant by Runtime Polymorphism?

Answer Posted / pankajbisane

Runtime polymorphisms means the code is called at run time
according to need or given conditions.

suppose there r two methods namely Add() one in super class
and other is in sub class.both have the same name and same
parameters.

so we have to choose that which method from them should
called at run time i.e. of super class or of sub class.

It can be achieved through the use of virtual functions.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

It is possible to take number of controls added to form at run-time.ex-when user enter 6, 6 text boxes get added to form,next time number of controls get change as per user number enter. What is code for that?

1488


What is ur porject Architecture? If anyone ask what i have to specify here..

1474


differences between qtp10.0 and 11.0 ?

1799


what is web service in java? have u use before.

1618


what do u mean by tagging

1604






how do i add a column dynamically in a table by using java application?

1536


How do i find out the number of parameters passed into function?

2196


Write a program to show polymorphism.

688


what is adodb??y it is used for connection of V.B and access??what is ado?dao?

1760


what is meant by life cycle of a business

1688


Write a shell program to test whether a given year is leap year or not ?

2249


Write a program to find factorial of a number using functions

1231


how to remove header and footer in jcl using sort utility

5084


without selecting individually each field in Action Class from jsp,what is the best process to select as many as field at a time automatically from jsp page by using value object class.

1423


what are the advantages of sap on other software ?

1719