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 3 types of properties in c# with an example?

1069


What does out mean c#?

952


2. What happened when BO object has been called?

1969


What is the use of nullable types in c#?

995


Explain use of abstract and sealed classes in c#?

853


What is a destructor in c#?

981


What is yield break in c#?

906


How do I create a single-file assembly?

1020


What are the 3 different types of arrays?

1029


What is the use of ienumerable?

860


What does == mean in c sharp?

995


Why do we use delegates?

855


What are the 4 pillars of any object oriented programming language?

883


What is tpl in c#?

892


What are the advantages of using delegates in c#?

925