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 / shreeram sahu

1.abstract class contain abstract and non abstract methods
but interface contain only abstract methods.
2.abstract method can be declared in public or protected
section. but all components of interface by default are
public.
3.a class can inherit only one abstract class but a class
can implement any no of interfaces.
4.abstract class components are directly reffered in
subclass.butinterface components must be prefixed with the
name of the interface.

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 a clickonce application?

935


what is the difference between master page and content page?

2602


Can you explain control extenders?

967


What is .net mobile images control. : Microsoft dot net mobile

924


How to improve the cache performance? : .NET Architecture

965


how to set the startup position of the form?

1945


What is the importance of updatepanel control?

1067


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

984


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

897


What is the access level of the visibility type internal?

969


Explain about .net garbage collector?

950


What do you know about machine.config file ?

949


Explain the race around condition? : .NET Architecture How can it be overcome? : .NET Architecture

923


Explain about code access security?

1002


What happens to the winfx technologies?

1010