What is the difference between Abstract and Interface?

Answer Posted / sanjay

In the abstract class we can define the member function
but in interface we can not define only declare the
function.

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we create extension method for interface?

665


Why do I get an error (cs1006) when trying to declare a method without specifying a return type?

703


What is the namespace for the thread class?

703


Differentiate between response.expires and response.expiresabsolute?

733


What is the main purpose of linq?

660


What are anonymous functions in c#?

697


If multiple interfaces are inherited and they have conflicting method names; What will happen ?

694


Why should I use interface in c#?

706


How many constructor can a class have?

680


What is the reason behind the invention of c#?

812


What is an object pool in .net?

822


What are the 3 different types of arrays?

766


Can we declare class as protected?

738


Why do we use delegates in c#?

673


Difference between a sub and a function in c#.

722