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

why delegate is type safe?

0 Answers   IBS,


What is application c#?

0 Answers  


From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?

0 Answers  


Is a structure a class?

0 Answers  


What is boxing & unboxing?

0 Answers  






Define encapsulation?

0 Answers   Siebel,


syntax for writing private method in a interface

7 Answers   ABMPL, Wipro,


Explain how many types of exception handlers are there in .net?

0 Answers  


What does executescalar return in c#?

0 Answers  


What is dll file in c#?

0 Answers  


Explain the three services model (three-tier application). Presentation (ui), business (logic and underlying code) and data (from storage or other sources).

0 Answers  


please exaplain gridview and what are the process available for it. how to add the row number automatically? is it possible to add child controls ?

2 Answers  


Categories