What is an Interface and What is an Abstract Class?
Answers were Sorted based on User's Feedback
Answer / meraj khan
Abstract class:
Abstract class act as base class, not instantiable, no
implementaiotn in base class but allow implementaiotn in
derived class with overide method, method must be abstract.
specially used in inheritance.
Interface:
Interface class dont have constructor, destructor,
always public modifier set to true
no implementation
cant used multiple inheritance instead of this we use
multiple interface
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / lalit
An abstract class is a parent class that allows inheritance
but can never be instantiated
Abstract classes are the classes with no implementation of
methods or concerete implementation of methods
An Interface can inherit several interfaces.
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / manoj kumar tripathi
We can not create object of abstract class.It is base class
which inherit by other class.we can give at least one
definition in the class.It support inheritance.
| Is This Answer Correct ? | 0 Yes | 3 No |
what is client-server architecture in .net? and what is 3-tier architecture?
What are the file extensions for razor views?
Explain difference between dataset and recordset?
Are there resources online with tips on asp to asp.net conversions?
Is overloading possible in web services?
What parameters can you pass in the url of the api?
What is http response header?
Difference between HTML control and Web Server Control?
What is preprocessor in .net? Where it use?
What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?
What is the significance of attaching a profile while creating a user?
What is the answer for "Which configuration Tool your using means" ? we have to tell about IIS or .Net Framework or VSS? Give me in brief ?
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)