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 |
can you overload a method of class A in Class B if it is derived class of A?If it is yes tell me how is it possible?
4 Answers Mphasis, Ness Technologies,
What does using system mean in c#?
What is a sealed class?
What is an arraylist in c#?
i want display a given number into Rupees Format Like Given number is : 156735 my Expected output is 1,56,735. how to display?
Why do we need serialization?
Can you see a loop recorder?
What is typeof undefined?
What is difference between ienumerable and list in c#?
C# called c sharp why?
What is the difference between interface and abstract class in c#?
what is a structure in c#
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)