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

Answer Posted / kirti

In an interface class, all methods must be abstract. In an abstract class some methods can be concrete. In an interface class, no accessibility modifiers are allowed, which is ok in an abstract class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is byte c#?

449


How to declare a property in a class?

550


Why do we use dictionary in c#?

499


What are mutable and immutable types in c#?

488


Explain clr in brief.

552






What are cshtml files?

488


What is the Signification of the "new " keyword in C#? example

519


What do you mean by generic class in c#?

496


What is a delegate? How can it works?

527


What are c# i/o classes? What are the commonly used i/o classes?

516


What is the difference between delegates and superdelegates?

466


What is the difference between “dispose” and “finalize” variables in c#?

486


What is a hashset c#?

478


What is a reference type c#?

519


What is sqldataadapter in c#?

491