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 / ravi anand pathak

1)-Abstract class required two key word for declaring
abstract class.
Interface required interface keyword for declaring the
interface.
2)-Within abstract class we can declare concrite and
abstract both type of method.
Interface support only abstract method.
3)-Variable declared within abstract class are normal.
All variables are emplicitly final,public static within
interface.
4)-We required abstract keyword to declared abstract
keyword.
All methods areemplicitlypublic and abstract.
5)-We use extends kyeword to inheriate any abstract class.
We use implements kyeword to use interfaces.
6)-Only one abstract class can extends at a time(single
inheritence).
We can use multipleinterface in a class at asame time(just
like multiple overriding).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is WPF and WCF?

962


Whate are resource files? How are they used in .net?

854


Explain 'managed' mean in the .NET context

1064


Explain the difference between l1 and l2 cache? : .NET Architecture

968


Why the config file might not be writable

1038


How does .net remoting work?

1037


can u give me real example of how web.config overrides the machine.config file?

1727


HttpHendler and HttpModules

2109


What is the purpose of cache? How is it used? : Dot net architecture

842


Define domestic architecture artifacts? : Dot net architecture

862


Are there any third party logging components available?

889


Explain the difference between inprocess vs out process session state : Dot net architecture

1009


Do you know textbox and textview controls of .net mobile? : Microsoft dot net mobile

974


What is a managed code? : Dot net architecture

913


Explain .net mobile input controls? : Microsoft dot net mobile

880