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  >>  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
 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 ?    1 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 ?    1 Yes 0 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 ?    0 Yes 0 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 ?    0 Yes 0 No
Rajeev Kumar Singh
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
What is the Difference between Web.config and global.asax? Can we write connection String code in global.asax? Microsystems3
what does Page.IsValid in asp.net Net-Solution2
Differentiate an ADO.NET Dataset and an ADO Recordset with its functionality?  3
About DataAdapters ? Accenture5
What is a Repeater Control and how does it works? and what is the diffrence b/w Gridview,datalist and repeater control? USi2
Whats MSIL, and why should my developers need an appreciation of it if at all?  1
Explain which is best suited place in the Application Start and Session_Start subroutines with an example?  3
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?  2
When is the ViewState available during the page processing cycle ?  2
What is the difference between and ActiveX dll and control ? Microsoft1
Below is a code extract from an ASP.Net application. The code basically reads data from the “name” field in the “members” table and prints them onto the webpage. Using the assumptions provided, fill in the 4 blanks below so that the code will run correctly. ‘Assumptions: ‘conn_str is a variable that holds the connection string to the database ‘Objects dbcomm and dbread are already declared earlier dbcomm = New OleDbCommand("SELECT name FROM members", conn_str) dbread = dbcomm._______________ _____________________ response.write(_______________) _____________________ dbread.Close() Techno-Solutions3
How can you assign styles to webforms? Microsoft1
Types of store procedure in Sqlserver?  2
is it possible to set more than web.config file for an ASP.net APPLICATION?can it run?how is it possible  3
In what order do the events of an ASPX page execute, As a developer is it important to understand these events?  2
What is operator overloading in dotnet  1
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?  1
How do you enable tracing? a) Set the Trace property of the Web Form to True b) Set the Trace property of the server object to True c) Set the Session variables Trace to True d) Set the Applications Variable Trace to True. Syntax-Softtech2
Various types of Page Load functions Net-Solution2
What data types do the RangeValidator control support?  2
 
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