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

did interface can implementation method ? i know its not
possible but my interviewer said its possible ..but how..?
any one have idea ???

Answer Posted / vinod

Hi Lakshmikant,

by writing anonymous class you are actully implementing an interface

It does not mean that we can have implementation with in an interface.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the purpose of garbage collection in Java?

1033


What are functions in java?

952


Which variables are stored in stack?

902


What access modifiers can be used for methods?

1104


Can we overload destructor in java?

995


What is heterogeneous in java?

964


State one difference between a template class and class template.

1068


What is difference between string and new string?

1037


Explain about method local inner classes or local inner classes in java?

1030


State some situations where exceptions may arise in java?

1060


How to use arraylist in java netbeans?

1046


Why we do exception handling in java and how many types of exceptions are there?

1127


What is difference between printf and scanf?

1159


Is java developer a good career?

1028


What is the structure of java?

1033