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...

Contrast the use of an abstract base class against an interface?

Answer Posted / abhishek

Basically both Interfaces and Abstract class sit on top. An
abstract class can have defintion and body. It's also used
when we need to implement polymorphism (Contain at least one
virtual method). However an interface contains only
declaration.

An Abstract inherit a class, an abstract class and implement
an interface. But interface can only implement another
interface.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use a Master Database in Asp.net?

1119


How to use push notification?

1097


What is event bubbling?

1074


What is asp.net localization?

1032


Which is better asp.net or php?

1085


What are standard controls?

1012


What is the use of service provider?

1085


What is full trust in asp.net?

1173


What are server activated objects?

1219


Explain Apache web servers ? How can you get ASP.NET running in Apache web servers - why should you do this?

1041


What is the difference between session and application?

1012


What is custom events?

1122


What is http only cookie?

1189


How can exception be handled with out the use of try catch?

1051


Which type if caching will be used if we want to cache the portion of a page instead of whole page?

964