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
Which among the following two is best and why? Abstract
Class and Interface. What is the major difference in between
those two except the discrete methods and methods with
function definition.
 Question Submitted By :: Srikanth
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Which among the following two is best and why? Abstract Class and Interface. What is the major difference in between those two except the discrete methods and methods with function definition.
Answer
# 1
(1) Interface have no concrete methods implemented while 
abstract class can have. 

(2) Interface can come into the chain of inheritance while 
Abstract class can't.
 
Is This Answer Correct ?    1 Yes 1 No
Jignesh Contractor
 
  Re: Which among the following two is best and why? Abstract Class and Interface. What is the major difference in between those two except the discrete methods and methods with function definition.
Answer
# 2
a)for Future, we can provide extra services in Abstract 
Class ,these futures can able to access   all of its  
Clients. And also it supports reusability.
  suppose the implementer need not provide implementation 
for all the methods.
 
Where as in Interface we don’t have this future(reusability 
and extra servicess).
               each implementer need to provide 
implementation for all the methods and 
also                  we cont provide extra services in 
future.The interface should be constant.


b)Interface can support multiple  inheritance where as 
abstract class does not.
 
Is This Answer Correct ?    1 Yes 0 No
Anitha
 
 
 

 
 
 
Other Dot Net General Interview Questions
 
  Question Asked @ Answers
 
How is development of a Windows service different from a Windows Forms application?  1
What is a strategy pattern? Implement it.  1
can any one tel me hw to connect database connectivity of dot NET and back end as MS access?  1
Where does the dispose method lie and how can it be used to clean up resources? Wipro1
What is Application Domain?  1
Explaing your project. Deloitte1
what is managed data and managed code?  2
What are possible implementations of distributed applications in .NET?  1
create a keypair?  1
Explain manifest & metadata. Wipro3
What are the contents of assembly?  3
How will u load dynamic assembly? How will create assemblies at run time?  1
How to send the Mail in C# using ASP.Net ? And my Answer is as follows ?  3
What are object pooling and connection pooling and difference? TCS3
what is the default value of CHAR type?in C# using asp.net? Bosch3
When developing a Windows service for .NET, which namespace do you typically look in for required classes?  1
Can you share processes between Windows services?  2
Explain constructor. Wipro1
Difference between assembly manifest & metadata assembly manifest Ksb3
Why DLL files are needed. & how They are Created in DOTNET?  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