What is the difference between Abstract and Interface?
Answers were Sorted based on User's Feedback
Answer / narendra mishra
Abstract->Abstract Method are the method without any
body.When derived class inherit the abstract method from
the abstract class It must override the abstract method.
Interface->Interface also define properties, method and
event which are known as the member of an interface.
Interface contain only the declaration of members.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nikhila
Abstract class contain both complete and incomplete methods
The implementation for abstract methods will be in derived class. Access specifier will allow
Interface contains only incomplete methods.The implementation will be in other class.Access specifier will not allow.by default public can use
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a reference type c#?
What is multithreading with .net?
What is a HashCode?
Is java better than c sharp?
Is typeof c#?
What is continue in c#?
In .NET how can you solve the DLL Hell problem?
Constructor to an arbitrary base constructor?
Why abstract class can not be instantiated?
What does the keyword “virtual†declare for a method or property?
Is type nullable c#?
Is it possible to force garbage collector to run?
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)