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

how does database connection using ADO.NET?

1525


what is the work of 1tier,2tier,&ntier? Plz Explain it!

2044


What is abstract Method i want the exact definition and is there any possibility to declare class as abstract without any abstract methods in that class?If it is possible then tell me why and how?

1478


what is the certificates in biztalk?

1436


How to change the color of a cell or a row in a datagrid on mouse hover using javascript/.net

1539






Hi All, Can any one please send me the difference between informatica 7i and 8i versions, Thanks in advance. vinod

1543


kindly send interview materials

1322


Write a shell program. Enter number of days from keyboard. Find out the number of years, month and days it contains

1528


What sysoption determines where the macro facility searches a specific catalog for complied macro?

1658


When you deliver your C++ headers and C++ library of a class (what all can you change in the class so that application using your class does not need to recompile the code)

731


SAS question: I have 50 fils a1,a2,...,a50. the primary key is upc. then if i want to merge all 50 files, the code is as follows, data test; merge a1 ... a50; by upc; run; we know that writing all 50 files name is time consuming, is there any standard format of this code?

1521


What ports must be open for DCOM over a firewall? What is the purpose of Port 135?

7188


a characteristic of a multiprogramming is? a.simultaneous exe of pgm instr 4m 2 appli b.concurrent processing of 2 r more prgms c.multiple cpu s d.all the abov

1683


how do u handle table control inbdc explain the process in steps iwant the answer in urgent please forward this even i know how to explain there

1757


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

1492