What is the difference between Abstract and Interface?

Answer Posted / vishal singh

In an interface class, all methods are abstract - there is
no implementation. In an abstract class some methods can
be concrete - there can be implementation. In an interface
class, no accessibility modifiers are allowed - are public
by default. In an abstract class accessibility modifiers
are allowed.

Is This Answer Correct ?    146 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between ienumerable and enumerator?

645


What is the use of xmlserializer?

633


What is variable and its classification?

702


What does args mean in c#?

661


How do I create a .exe file?

691


How do I simulate optional parameters to com calls?

714


Can bool be null c#?

663


Is c# a backend language?

738


How to reduce image resolution in C#?

826


what are windows services?

708


How do I convert a string to an int in c#?

697


What is clr in c#?

631


What is int parse in c#?

678


How many types of interface are there in c#?

685


Is int reference type c#?

686