What?s the difference between an interface and abstract class?

Answers were Sorted based on User's Feedback



What?s the difference between an interface and abstract class?..

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

What?s the difference between an interface and abstract class?..

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

What?s the difference between an interface and abstract class?..

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

What?s the difference between an interface and abstract class?..

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

Post New Answer

More C Sharp Interview Questions

How to implement a singleton design pattern in c#?

0 Answers  


Why is c# used?

0 Answers  


Can we declare private class in c#?

0 Answers  


How can you sort strings in array that are passed to method as arguments?

0 Answers  


Explain the mechanism of VB.NET/C# achieve polymorphism?

0 Answers   Siebel,






Where is the output of TextWriterTraceListener redirected?

1 Answers  


Is java better than c sharp?

0 Answers  


What is the default value of datetime in c#?

0 Answers  


what is used ref keyword in c#,and how we used it?

2 Answers  


What are the properties of string?

0 Answers  


Which is the best way for keeping the data in XML or SQL server..and why?

8 Answers   Infosys, Satyam,


Define using statement in c#?

0 Answers  


Categories