ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Dot Net  >>  Dot Net General
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions
 Dot Net General interview questions  Dot Net General Interview Questions
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions
Question
1.What is the major advantage of polymorphism? Please don't
simply say binding. Specify any other reason.
 Question Submitted By :: Srikanth
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 1.What is the major advantage of polymorphism? Please don't simply say binding. Specify any other reason.
Answer
# 1
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 ?    0 Yes 0 No
Ashutosh
 

 
 
 
Other Dot Net General Interview Questions
 
  Question Asked @ Answers
 
Name some of the languages .NET support?  2
create a keypair?  1
Which server tag comes from server when we submit any data  1
What is model-view -controller Architecture?  1
What are channels in .NET Remoting?  2
What is Assembly manifest? what all details the assembly manifest will contain.  1
What is Global Assembly Cache (GAC) and what is the Purpose of it?  1
What are the contents of assembly? Ksb4
What is Active Directory? What is the namespace used to access the Microsoft Active Directories?  3
What?s a proxy of the server object in .NET Remoting?  1
What?s Singleton activation mode?  1
How many languages .NET is supporting now? IBS15
What is CLR, CLS,CTS Deloitte2
What does the "EnableViewState" property do?  1
How will you register com+ services?  1
What are the providers available with VS.NET ? TCS2
Is string a value type or a reference type?  1
What is a resource? Provide an example from your recent project. Wipro1
What is MSIL, IL, CTS?  2
How to find methods of a assembly file (not using ILDASM) Reflection  1
 
For more Dot Net General Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com