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

What is tree in java?

990


What do you understand by classes in java?

1045


Explain what is encapsulation?

1135


Where and how can you use a private constructor?

1037


What is a top level class in java?

1083


What are the differences between forwarding () method and sendredirect() methods?

1144


Can java run on google chrome?

1247


What are class types in java?

1110


What is a condition in java?

1087


What is size of int in java?

1100


Can we use a default constructor of a class even if an explicit constructor is defined?

1140


What is final?

1134


Why map is used in java?

1082


Name some classes present in java.util.regex package.

1070


How do you use compareto?

986