What is the difference between Abstract and Interface?

Answer Posted / saurabh

you can define variables in abstract class but this is not
allowed in interfaces.

Is This Answer Correct ?    20 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

C# called c sharp why?

746


What is the default scope of a class in c#?

674


How can you access a private method of a class?

671


What is function and method in c#?

701


What is the purpose of static?

693


what is a enumeration in c#

755


Explain use of abstract and sealed classes in c#?

622


What is a shared assembly?

738


What is the difference between firstordefault and first?

671


How we can create an array with non-default values?

706


How long does a loop recorder procedure take?

683


What is the difference between static and private constructor in c#?

683


What is the use of constructor in c# with example?

615


What is the difference between dispose() and finalize() methods in c#?

695


Where do we use static class in c#?

653