Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is RunTime Polymorphism?

Answer Posted / ansar hussain.m

Polymorphism means one object behaving as multiple forms.
simple one in many forms .
there are two types of poly morphism
1) compile time
2) runtime

1)compile time:
overloading a method , constructor , operator etc.. comes under compile time polymorphism because compiler checks the type and number of parameters passed on to the method and decides which method to call at the compile time itself and it will give an error if there are no method that matches the method signature of the method that is called at the compile time itself


2) runtime polymorphism:

overriding comes under runtime polymorphism because the compiler would not be aware of the method is available for overriding the functionality or not. so compiler would not give any error at compile time. At runtime it will be decided which method to call. and if there is no method at runtime it will give an error

Is This Answer Correct ?    26 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Interop Services?

1967


What is RPC? What is the use of it?

1163


What is the use of immutability?

1106


Is atl redundant in the .net world?

998


Explain about the Common Language Runtime?

1123


Tell me about secure socket layer? How to make use of the technology?

981


How to implement CAS in .Net?

2847


What is class library in .net

1107


A developer company sends dlls to the client. Some client is not happy current functionality, so request some modification. Developer made some changes and send new dll to all clients. Some client is happy with old version, tell me minimal change to so that neither clients get affected?

940


Explain what is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?

1052


What is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?

969


Explain how does assembly versioning work?

1030


Explain what relationship is between a process, application domain, and application?

1070


What is difference between .net and .net core?

1006


Write a program to create a user control with name and surname as data members and login as method and also the code to call it.

938