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

What is new in the .net 2.0 class library?

1061


if there are two application 1 and 2 having a variable x in both app if client1 changes value of x in 1 app client 2 want reads the value of x from 2 app what resultant value will he get

2270


What is difference between Desktop, Client Server & Web based applications?

986


Explain about code access security?

933


what is the difference between running an application with and without debugger?

2035


Explain the types of memory management? : Dot net architecture

896


Explain dma? : Dot net architecture

967


How do I write to the application configuration file at runtime?

933


How do you handle this COM components developed in other programming languages in .NET?

1000


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

888


What is .net mobile input validation. : Microsoft dot net mobile

882


How can I write my own .NET host?

959


What is the difference between l1 and l2 cache? : Dot net architecture

885


Define pipelining? : Dot net architecture

967


What is Opf3

956