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 / er. prabhat, tcs

biggest difference:

purpose of class is to represent objects
while
purpose of interface isn't to represent objects.....by
interface programmer gets only method names..but body is 2b
given by him....
now a question arises in my mind...if i'm giving body of
method then why shouln't i giv name too.....hmmmm.....

bete...interface ke methods ke body to programmer deta hai
bt chalata koi aur hai...it is not programmer who calls
these methods..


chinta mat karo...i'm giving example.....
EVENT HANDLING :ActionListener ko implement kiya,
actionPerformed() ki body di....magar actionPerformed() ko
humne nahi chalaya..note it

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain Singleton design pattern in .net

987


What is Video Streaming in .net??

975


how to create applications by using Visual Studio 2012?

960


Xmlserializer is throwing a generic "there was an error reflecting myclass" error. How do I find out what the problem is?

958


How do I prevent concurrent access to my data?

1032


What is Com Callable wrapper?when it will created?

931


What is .net mobile lists. : Microsoft dot net mobile

947


Explain the types of memory management? : Dot net architecture

950


What is the mesi? : .NET Architecture

1026


Explain the Lapsed Listener problem in .net

1177


how can we achieve language interoperability through CLS? How MSIL works?

1078


Explain the purpose of cache? How is it used? : .NET Architecture

978


What is the difference between machine config vs. Web config : Dot net architecture

956


Explain dotnet framework ?

1036


Explain hard disk? : Dot net architecture

998