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 Abstract and Interface?

Answer Posted / nevin jain

-Abstract class contains both data members n members
functions.... but Interface contains only members functions

-Abstract class contains both complete n incomplete methods,
incomplete methods has to be explicitly marked as abstract
method...where as Interface contains all incomplete method n
no abstract keyword is requires explicitly.

-Abstract class n theirs members can be public,private or
protected whereas... By default access modifier are public n
no other access modifier can be given to interface n theirs
members.

-Abstract class members are inherit into derived class as
inherit members whereas... Interface members as inherited as
prototype members..

-Abstract class contain constructor whereas.. interface does
not contain..

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many variables do you need?

882


What is cli in c#?

894


What are the steps to create a webservice and consume it?

876


What is the .NET collection class that allows an element to be accessed using a unique key?

1081


Can constructor be protected?

852


What is the implicit name of the parameter that gets passed into the set method/property of a class?

884


What does mean before a string in c#?

954


Explain about finalize method?

894


What is the usage of Enumeration in C# Programming and is it good to use or not ?

937


What is call back method?

958


How do you escape in c#?

894


What is primitive types in c#?

829


What is the do while loop code?

886


What is a ienumerator?

879


What is the default value of singleordefault?

891