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

Whats new features in Visual Studio 2012?

979


what are the events for a form?

2092


Explain about httpruntime.cach.get(); method?

1022


Explain about appdomains?

1036


Different types of authentication modes in .net framework ?

1004


how to delete the record using data reader

2492


what is polymorphism and advantage ?

1997


Define cache coherency? : Dot net architecture

999


How will you do windows authentication and what is the namespace?

1063


Use of Enable view state ? if turn off what happen ?

4490


What is one way operation?

972


what is diffrent beatween localprinter and networkprinter

1775


Explain hard disk and what is its purpose? : Dot net architecture

954


Explain Singleton design pattern in .net

994


So what exactly is the configuration file for then?

969