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 / geetika.......:)

1)all methods in interface need to be defined in class that implemented it.but abstract class may define all some or none of the methods declared in it.
2)abstract class cant instantiate object but class with interface can
3)interface do not have constructors abstract classes have
4)class may implement number of interfaces but can extend only one abstract class
5)variables must be initialized in interface but its not necessary in abstract class.
6)interface has abstract functions but abstract class has abstract as well as concrete functions.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

difference between data reader and dataset

2218


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

931


Why only boxed types can be unboxed?

1084


How can I create a application?

915


What is .net mobile input validation. Explain with an example? : Microsoft dot net mobile

937


What is MS chart control in visual studio?

1228


Explain about code access security?

988


Explain Singleton design pattern in .net

979


How does .net remoting work?

1076


Explain the purpose of cache? How is it used? : .NET Architecture

970


What are the types of memory management? : Dot net architecture

885


What is textview control of .net mobile? : Microsoft dot net mobile

999


What is Com Callable wrapper?when it will created?

923


Differences between VS 2005, 2008 and 2010 ?

1003


Explain different pipelining hazards? : Dot net architecture

968