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

Differences between VS 2005, 2008 and 2010 ?

1064


Do you know textbox and textview controls of .net mobile? : Microsoft dot net mobile

1098


What is the purpose of Accordian in jquery? Where it can be used?

2333


What is one way operation?

1013


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

994


Define pipelining? : Dot net architecture

1059


what is sessions and cookies take one example simple way to understand

2388


How do I prevent concurrent access to my data?

1081


What are the major differences between services and web services?

970


Explain cache memory? : Dot net architecture

1017


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

1026


where should I put this information then?

1020


The maximum report processing jobs limit configured by your system administrator has been reached.How I can Solve this problem when i using crystal report to load from my application.

15143


Explain about continuable exceptions?

1030


8. Oop-Why and were we use Interfacse and Abstract class.

2186