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

What are bindings?

942


What is Video Streaming in .net??

923


What is the access level of the visibility type internal?

917


What size is a .net object?

990


Difference between type constructor and instance constructor?

1084


Explain about continuable exceptions?

922


Are there any third party logging components available?

893


Define cache coherency and how is it eliminated? : Dot net architecture

906


Why am I getting an invalidoperationexception when I serialize an arraylist?

848


What are library functions?

905


Explain pipelining? : Dot net architecture

955


Can I create my own permission set?

985


readonly syntax ?

1822


How do we do authentications using atlas?

924


How do I prevent concurrent access to my data?

985