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 is the difference between interface and abstraction?

Answer Posted / anshul jain

An interface cannot provide any code, just the signature.
An abstract class can provide complete, default code and/or just the details that have to be overridden.
An interface cannot have access modifiers for the subs, functions, properties etc everything is assumed as public
An abstract class can contain access modifiers for the subs, functions, properties

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sealed class in c#?

953


Why extension method is static?

971


Explain types of comment in c# with examples

1005


What is managed or unmanaged code?

1119


How long can a string be c#?

960


How does yield return work c#?

982


What is the C# syntax to catch any possible exception?

983


Can struct inherit from class c#?

1033


Why do we need constructor in c#?

993


Why dictionary is used in c#?

1010


What are the features of c#?

981


What is iformatprovider in c#?

963


Give an example to show for hiding base class methods?

898


what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?

2139


Enlist some of the properties of a thread class?

982