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

Difference between abstract class and interface

Answer Posted / maneswari

Interfaces provide a form of multiple inheritance. A class
can extend only one other class.
Interfaces are limited to public methods and constants with
no implementation. Abstract classes can have a partial
implementation, protected parts, static methods, etc.
A Class may implement several interfaces. But in case of
abstract class, a class may extend only one abstract class.
Interfaces are slow as it requires extra indirection to to
find corresponding method in in the actual class. Abstract
classes are fast.

Is This Answer Correct ?    439 Yes 93 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of virtual, sealed, override, and abstract.

967


Can you Explain element .net mobile with example? : Microsoft dot net mobile

941


Are there any third party logging components available?

941


Explain element .net mobile with example? : Microsoft dot net mobile

975


Explain what does the term "green architecture" mean? : .NET Architecture

954


How can we integrate atlas with web services?

944


What is Video Streaming in .net??

969


What is an interrupt? : .NET Architecture

886


What is .net mobile forms? : Microsoft dot net mobile

921


What's new in the .net 2.0 class library?

917


how to create applications by using Visual Studio 2012?

958


How cache is used? : Dot net architecture

995


Explain the Lapsed Listener problem in .net

1166


Explain the process of gc?

973


Explain different pipelining hazards and how are they eliminated? : Dot net architecture

932