What is difference between abstract class and interface in c#?



What is difference between abstract class and interface in c#?..

Answer / Vishal Upadhyay

An abstract class can have implementation for some of its methods, whereas an interface cannot. An interface only defines the method signatures without any implementation. An abstract class can contain both abstract methods (methods without implementation) and concrete methods (methods with implementation).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Can you inherit from multiple classes in c#?

1 Answers  


How many bytes is a char c#?

1 Answers  


What are the various components in crystal reports?

1 Answers  


What is attribute and reflection in c#?

1 Answers  


Explain the difference between a sub and a function?

1 Answers   Wipro,


What is xor operation?

1 Answers  


Is list immutable in c#?

1 Answers  


Explain the importance and use of each, version, culture and publickeytoken for an assembly.

1 Answers  


What's the difference between WindowsDefaultLocation and WindowsDefaultBounds?

1 Answers   BirlaSoft,


What is c# entity framework?

1 Answers  


What is the difference between virtual and override in c#?

1 Answers  


Why do we use threads in c#?

1 Answers  


Categories