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...

How does VB.NET/C# achieve polymorphism?

Answer Posted / srinivas

1. function overloading,

2. Runtime polymorphism --Using Interface reference,

EX:
interface name I ,abstract Method();
implimenting classes A,B

ref I;
objA= new A();
objB= new B();

runtime
objA=I

objA.Method();

objB=I;
objB.Method();

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you can stop the validation of ASP.NET controls from client side?

1039


Can you explain architecture of your project ?

1133


What are the different web pages?

924


Explain the overview of asp.net?

1031


What is latest version of asp.net mvc? : Asp.Net MVC

1074


What is is post back property in asp net?

1018


Difference between application events and session events

1031


Explain the difference between array and linkedlist?

990


What is the difference between executescalar and executenonquery?

1017


What is a query string in a url?

993


What kind of data we can store in viewstate?

1052


What is cross page posting? How is it done?

964


Which protocol is used to call a web service?

1052


Why web api is better than wcf?

1109


What do you understand from custom control?

1123