Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / nikhil

Difference

1. Interface doesn't allow accessibility modifier where as
we can specify accessibility modifier (public, private,
protected) for an abstract class.

2. Interface doesn't provide the implementation of the
members declared. This is not the case with abstract class

3. A class can inherit one and only one abstract class,
where as a class can implement one or more interfaces

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between and xml documentation tag?

960


Is post back in c#?

1014


Differentiate between object pooling and connection pooling in c#?

1043


Can hashtable have duplicate keys?

962


What is the difference between list and arraylist in c#?

917


What is virtual class in C#?

1039


Define Final Class in C#

1091


How C# 4.0 supports dynamic programming language?

1067


Why do we use stringbuilder in c#?

971


What is difference between singleordefault and firstordefault?

962


What is the difference between integer and double?

977


Can main method be final?

951


What is void method?

999


What is foreach loop in c#?

1011


What is difference between array and collection in c#?

934