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 hashtable in c# with example?

961


What do you mean by expression tree?

847


Is xamarin free?

855


What is callback in c#?

900


how to implement a web service in .net

976


what is a enumeration in c#

1047


How to reverse each word in a string using c#?

1055


Where are value types stored in c#?

1046


What is streamreader/streamwriter class?

926


Illustrate race condition?

909


What is new method in c#?

932


What are the two kinds of properties in c#.

945


In object oriented programming, how would you describe encapsulation in c#?

963


Explain the feature of c# language?

903


What is gac? What are the steps to create an assembly and add it to the gac?

923