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

What is rending process in ASP.NET?

1040


Explain how asp.net page works?

990


What is hidden field in asp.net?

1057


What is the difference between “Web.config” and “Machine.Config”?

1102


What are the types of session in asp.net?

932


What is authorization in asp.net?

1048


Which library is used by the testers and developers to develop automated tests and create testing tools?

958


Which platform does Microsoft .NET use for exchanging data between applications?

1005


What is the difference between application state and caching?

1041


How does http session work?

959


How is application management and maintenance improved in asp.net 2.0?

971


What does a switch do?

929


What is user control in asp.net?

1049


What is the default Orientation property in a Menu control?

1017


What is the maximum number of classes that can be contained in one dll file?

1183