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

Why abstract class can not be instantiated?

819


Write a syntax for writing a event delegate.

886


What is distribute by in hive?

991


How garbage collection deals with circular references.

812


What are data types in C#?

919


What is the difference between C# 3.5 and C# 4.0?

885


Which is faster dictionary or list?

869


What is eager and lazy loading in c#?

922


What are sessions in c#?

888


What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?

921


What is yield return in c#?

894


What is a base class in C#?

922


How can you achieve run time polymorphism in C#?

966


What is Named parameter in C#?

937


What is the base class in .net from which all the classes are derived from?

892