Contrast the use of an abstract base class against an interface?
Answers were Sorted based on User's Feedback
Answer / kavita sharma
Abstract classes can provide implementations for methods and
properties. Interfaces only provide required declarations.
| Is This Answer Correct ? | 22 Yes | 1 No |
Answer / anbazhagan vv
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 ? | 13 Yes | 4 No |
Answer / abhishek
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 ? | 5 Yes | 1 No |
Answer / rajeev kumar singh
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 ? | 5 Yes | 4 No |
Answer / vineet unnikrishnan
interface does not have theimplementation of its members
like functions,properties etc whereas abstract class can
have implementation of its members.
| Is This Answer Correct ? | 2 Yes | 2 No |
How to improve performance of web application asp.net mvc? : Asp.Net MVC
Is there any property names “isnavigating”?
Should user input data validation occur server-side or client-side? Why?
3 Answers NIC, Siebel Systems,
what is silver light when will we use silver light,
what is COM Object in Dot net?
List some of the important session state modes of asp.net.
How does output caching work in ASP.NET?
Where is asp.net view state stored?
Explain about the .NET framework?
What are cookies in asp.net?
You create an assembly to access data in a relational database. This assembly will be used by several ASP.NET applications on your Web server. You need to ensure that all your applications can access the assembly. Which two actions should you take (Each Answer: presents part of the solution.)? (Choose two) A . Run the Assembly Registration tool (Regasm.exe). B . Run the String Name tool (Sn.exe). C . Run the Installer tool (Intallutil.exe). D . Run the Global Assembly Cache tool (Gacutil.exe).
6 Answers CPCL, Syntax Softtech,
What is difference b/w Data Grid in ASP.Net 1.1 and Gridview in 2.0
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)