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

Always use scope terminator like End-If with IF, End- Evaluate with Evaluate statement.Can somebody explain me the detail logical explanation?

1737


Given a cube of size n*n*n (i.e made up of n^3 smaller cubes), find the number of smaller cubes on the surface. Extend this to k-dimension.

875


What is diffrent between Method and and function in c#

1742


What is SOLID Principle in Programming Language?

881


why we use mantis? what u mean mantis in IT trends? addvantages of mantis?

1951


what is session state?

1704


Explain three modes in which files can be accessed from python program

1512


How do you pass variables forwrd to future CECI sessions

4267


hii I inntrested abt scjp certification but i dont knw abt scjp plz send details abt scjp exam and syllabus.

1609


I am taking the bmc control m/enterprise manager 7.0 scheduling test and just wanted to see what kind of questions they would ask or if anyone has taken the test and how long it is for how many questions?

5865


What is %Type,%Rowtype?

2012


suppose we have ten members of a physical file but we want the output of last 5 members only.how to achieve that?

1736


shall we execute our java programmes in jre

1939


8.In DSP,Define Signal and System?and various type of signals.

1749


Is anyone has done the ASP.NET MVC4 workshop course(2 days) from Peers Technologies. Let me know. I need to talk before joining ASP.NET MVC4 training at peers, Hyderabad.

1738