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

HttpHendler and HttpModules

2112


What are the options provived by vss to the user? how it will help us while delevoping application?

2168


Explain the five stages in a dlx pipeline? : Dot net architecture

887


readonly syntax ?

1819


Why only boxed types can be unboxed?

1042


how to change row background color in gridview

947


Explain about the base class library provided by microsoft.net?

990


What is a service contract, operation contract and data contract?

886


What is .net transaction?

878


how to add list of items in a web application and win application?

2034


Explain the difference between primary & secondary storage device? : Dot net architecture

902


Explain the components required to develop mobile applications with .net mobile? : Microsoft dot net mobile

859


Explain difference between inprocess vs out process session state? : .NET Architecture

949


What do you know about machine.config file ?

907


What are different types that a variable can be defined and their scopes ?

995