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       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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 0 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 ?    0 Yes 0 No
Anitha
 
 
 

 
 
 
Other Dot Net General Interview Questions
 
  Question Asked @ Answers
 
What is exception handling?  1
Please explain about "this" object CTS2
How will u load dynamic assembly? How will create assemblies at run time?  1
How is development of a Windows service different from a Windows Forms application?  1
What is Assembly manifest? what all details the assembly manifest will contain. Ksb2
what is viewstate?  1
why .net does not support multiple inheritance? Microsoft2
why do you want to join deloitte, where do you exactly fit in. Deloitte1
create a keypair?  1
Write code for fetch record nos 15 to 25 from a dataset containing 50 records? C-Squared-Systems4
What is CLR? How it will work? NeoSoft2
Hi, Requirement is: try { \\SQL Query } catch(Exception i) { print a } catch(SQLQueryException e) { \\SQL Query } Got Exception in "try" block. Which "catch" throws exception and Why??? Please provide the answer in detail.. Thanks for the help!!! 3i-Infotech2
Resource Files: How to use the resource files, how to know which language to use?  1
What is Active Directory? What is the namespace used to access the Microsoft Active Directories?  3
What is Method Overriding? How to override a function in C#?  1
What is a strategy pattern? Implement it.  1
What is the managed and unmanaged code in .net?  2
What is Custom attribute? How to create? Namespace? If I'm having custom attribute in an assembly, how to say that name in the code? What is Reflection in .NET? Accenture1
What is .NET Framework?  2
What is the raise event used for? Wipro4
 
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