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


1.What is the major advantage of polymorphism? Please don't
simply say binding. Specify any other reason.

Answers were Sorted based on User's Feedback



1.What is the major advantage of polymorphism? Please don't simply say binding. Specify any ot..

Answer / ashutosh

the main reason to use polymorphism is generalization, as
you can see in case of overloading. say if i have add
function which just add two intergers. and i have one more
similar kind of functionality then in that case i will do
the overloading as only my internal implemantation will
vary.

second thing is consistency in code.

and in case of overriding main advantage is you can invoke
child class function dynamically(means by creating the
object of base class as normally we do).

suppose one of my function expects my base class type
object and i want functionality of overrided function then
in that case i can simply write (parent obj = new child();)

Is This Answer Correct ?    8 Yes 1 No

1.What is the major advantage of polymorphism? Please don't simply say binding. Specify any ot..

Answer / judy prasheela

It means the Use of same thing for different purposes.Using
polymorphism we can create as many fuction we want with one
function name with different argument list.." many
functions,one name" otherwise "one name ,Multiple forms".

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More Dot Net General Interview Questions

What is an Exception? How many exceptions exist in Dot net and explain them?

2 Answers   CSC, TCS,


Differentiate between 'DataSet' and 'SQLDataReader' in ADO.NET?

0 Answers   QuestPond,


What is Finalizer in .NET define Dispose and Finalize ?

0 Answers   MCN Solutions,


Why DLL files are needed. & how They are Created in DOTNET?

1 Answers  


Can we Classic ASP,.Net 1.0, .Net 1.x and .Net 2.0 installed on the same system?

2 Answers   Value Labs,


What is 'Common Type System' (CTS) in .NET?

0 Answers   NA,


Explain about Behavioral design pattern?

0 Answers  


Explain Different kinds of methods?

0 Answers   Wipro,


What is the procedure to add assemly to gac to make it shared one?

0 Answers  


Explain me what is the difference between a class and an object, and how do these terms relate to each other?

0 Answers  


Explain the Scope of public/private/friend/protected/protected friend.

1 Answers   Wipro,


Explain what is immutability, what is it for and how is it codified?

0 Answers  


Categories