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

explain Garbage collector’s functionality on unmanaged code

930


What are partial types in c#?

901


What is data annotation in c#?

934


Why do we need properties in c#?

884


Explain the difference between a sub and a function in c#.

1021


What is poco c#?

907


What is extension method in c# and how to use them?

927


What is the usage of transponders?

961


Can you prevent a class from being instantiated?

992


what is the difference between convert.tostring() and tostring() functions ?

1053


how to stored and retrive video in Sql server using asp.net c#......?

990


Why should I use interface in c#?

968


Why do we use ienumerable in c#?

886


What is meant by unicode characters?

985


What are the desktop applications?

880