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 / ashish gupta

1) In Interface we can give only declarations not
definitions but in abstraction we can hv definitions also.
2) In an Abstraction we must hv at least one abstract
function.
3) Abstraction can not be instantiate .
4) In Interfaces we can not assign access identifier.
5) A class can implement 2 interfaces but can inherit only
one Abstract function.

Is This Answer Correct ?    27 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use static methods in c#?

1025


what is partial assembly reference

959


What is session and cookies in c#?

978


How is a string immutable?

924


Why linq is having select clause at the end?

933


What is difference between assembly and dll?

990


What do you mean by sealed classes and static classes?

1008


What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?

1010


How do you escape a character?

955


Can abstract class be sealed?

894


Can you use all access modifiers for all types?

982


What are the 3 elements of delegation?

981


What is the default value of object in c#?

933


What is the difference between new and override in c#?

1017


How do I create a multi language, multi file assembly?

1073