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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need singleton class in c#?

536


What is the main purpose of delegates in c#?

509


Where is c# compiler located?

492


What is tryparse?

519


Is c# 8 released?

496






What is thread life cycle in c#?

477


How to use nullable types in .net?

568


what is the scope of anonymous type ?

580


What is the difference between static and constant variables?

544


Why do we use polymorphism in c#?

478


What is difference between Enum and Struct?

554


How does yield return work c#?

509


How to block a class from being inherited further?

484


What is the purpose of reserved word using in c#?

501


Why do we need static in c#?

511