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...

What is the difference between interface and abstract class ?

Answer Posted / chetan dubey

In c#.net there are basic differences:-
(1)In interface ,we cannot define an datafield while
datafield is declare in abstract class.
(2)Interface can be declared by using the keyword
interface,and abstract can declared by using the abstract
keyword.
(3)we can declare only function prototype which can be
define in inherited class but In abstract class,there is
minimum one abstract method and we define other method also.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is this keyword in C#?

974


Differentiate between method overriding from method overloading with its functionality?

1028


Is c# substring zero based?

968


Can we override constructor in c#?

921


What Happens In Memory When You Box And Unbox A Value-type?

868


What is xslt in c#?

865


What is the difference between gettype and typeof in c#?

908


Which programming language is best for desktop applications?

937


Is it not possible to store a boolean value as a variable?

857


What are the new features in c# 2.0?

981


What is private and shared assembly?

1000


What is master page in asp net c#?

897


What is the meaning of console writeline in c#?

868


What are callback methods in c#?

927


What is ienumerable and iqueryable?

919