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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
Contrast the use of an abstract base class against an interface?
 Question Submitted By :: .NetGuru
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Contrast the use of an abstract base class against an interface?
Answer
# 1
Abstract classes can provide implementations for methods and
properties. Interfaces only provide required declarations.
 
Is This Answer Correct ?    7 Yes 0 No
Kavita Sharma
 
  Re: Contrast the use of an abstract base class against an interface?
Answer
# 2
A class can inherit only one absatract class, whereas the a 
class can inherit more than one interface.

An abstract class can have abstract as well as non abstract 
methods whereas the interface can have only the abstract 
methods.
 
Is This Answer Correct ?    4 Yes 4 No
Anbazhagan Vv
 
 
 
  Re: Contrast the use of an abstract base class against an interface?
Answer
# 3
Basically both Interfaces and Abstract class sit on top. An
abstract class can have defintion and body. It's also used
when we need to implement polymorphism (Contain at least one
virtual method). However an interface contains only
declaration. 

An Abstract inherit a class, an abstract class and implement
an interface. But interface can only implement another
interface.
 
Is This Answer Correct ?    2 Yes 1 No
Abhishek
 
  Re: Contrast the use of an abstract base class against an interface?
Answer
# 4
An abstract class can have abstract as well as non abstract 
methods whereas the interface can have only the abstract 
methods. 
An Abstract inherit a class, an abstract class and implement
an interface. But interface can only implement another
interface.
 
Is This Answer Correct ?    3 Yes 3 No
Rajeev Kumar Singh
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
What is a bubbled event?  2
how to do pakaging nd deployment  1
How cross page posting is done in Asp.net 2.0?  3
I have a textbox , assign required field validator and i have two buttons 1) save 2) cancel , i want the validator run only when i click save button, don't validate cancel button , what to do? eMids5
What is SQL injection?  1
can u any one tell me clearly where is stored cache datas? Apollo1
what is purpose of xml control in standard controls of asp.net  1
what is assembly? Microsoft2
What is the result when the Web Form containing the following line is complied and executed? <asp:Button id=?thebutton? onClick=?theEvent? /> a) The button control is created; theEvent is the click event handler. b) Compiler error; the control must be set to runat=?server?. c) Compiler error; onClick is not a valid attribute. d) Runtime Exception; the control must be set to runat=?server?. Syntax-Softtech2
Contrast the use of an abstract base class against an interface? iLink4
what are partial postbacks? Microsoft2
How we can set Different levels of Authentication in .Net? What are the difference between Windows Authenticatin, Passport Authentication and Form Authentication?  1
How can we Deploy a website?  2
Tell About Global.asax ? Keane-India-Ltd3
What event fired during, when datagrid click?  1
we are working in .net namespaces like using system.io,system.text. these namespace before we use "using " keyword what means of using? Tech-Mahindra5
State management in asp.net ? Accenture4
What are generics? why it is used? architecture of ASP.NET? Satyam4
What is the difference between an EXE and a DLL?  6
What is the need to give <compilation debug=true> command ? Netsweeper3
 
For more ASP.NET 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