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

What is difference between singleton and static class in c#?

951


What do you mean by for each loop?

923


What are the new features in c# 2.0?

981


What is visual c# net?

1012


Can a string be null c#?

890


What is difference between class and abstract class in c#?

925


What is poco c#?

909


What is a ienumerator?

927


If casting fails what type of exception is thrown?

889


What is the use of return in c#?

952


What is difference between comparable and comparator?

893


Which is faster array or arraylist in c#?

909


Explain how to parse a datetime string?

922


Does c# do array bounds checking?

983


Why delegates are safe in c#?

879