What?s the difference between an interface and abstract class?
Answers were Sorted based on User's Feedback
Answer / guest
In the interface all methods must be abstract, in the
abstract class some methods can be concrete. In the
interface no accessibility modifiers are allowed, which is
ok in abstract classes
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / dj
a class can inherit multiple interface where as
a class can inherit only one abstract class
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / adhi
thanxs for your Contribution...I have got one more
diff.. ...Derived Class or Child Class should implement the
methods and properties in interface that are implementing
interface where as it is not manditory in case of Abstract
class
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / pvschmurthy
In Abstract class must have one sub class, but Interface
cann't have sub class only implimentation class.
| Is This Answer Correct ? | 0 Yes | 3 No |
what is the difference between int and Int32?
What are concrete classes?
What?s the difference between the Debug class and Trace class?
Explain why do I get an error (cs1006) when trying to declare a method without specifying a return type?
What is the difference between ienumerable and icollection?
What is the difference between double and decimal in c#?
What is the namespcae generally given to the webpage of the .NET Framework ?
Describe the accessibility modifier protected internal.
3 Answers Siebel Systems, Visual Soft,
Can you pass parameters to destructors?
How to block a class from being inherited further?
How does foreach loop work in c#?
Describe the ways of cleaning up objects 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)