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

How do I declare a pure virtual function in c#?

991


What is the use of table aliases?

915


How do you comment in c#?

968


What is deadly diamond problem?

975


What do you mean by object pooling?

1032


What is type safe in c#?

886


What is a private method in c#?

1044


Is there an equivalent to the instanceof operator in visual j++?

969


Explain the importance and use of each, version, culture and publickeytoken for an assembly.

930


What are events in C#?

986


What are instance fields in c#?

1001


Explain circular reference in c#?

945


What is the use of list in c#?

854


How do I create multifile assembly?

932


What is xpath in c#?

968