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                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories >> Software >> Microsoft-Related >> Dot-Net >> Dot-Net-General
 
 
 
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  
 
Answer
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.
 
0
Anitha
 
View All Answers
 
 
 
 
 
   
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