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

can you create interface instance ?

Answer Posted / anthony

cool buddy. Nice way to fool people.

If you really need to check the concept, put the code in
eclipse or netbeans and see. The method in the anonymous
class would show as overriden from interface Test and if
you remove the method from the anonymous class, it would
not compile. So at the end you are having an instance of
class implementing the interface.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string manipulation?

1012


What are class types in java?

1083


what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread

992


What are the advantages and disadvantages of object cloning?

1111


What is the difference between a break statement and a continue statement?

1043


Explain the importance of import keyword in java?

1012


What is reflexive association?

1805


In case of inheritance what is the execution order of constructor and destructor?

1134


Is there any case when finally will not be executed?

953


Can you add null to a list java?

1062


What is java objectoutputstream?

993


What is methodological theory?

1003


How do you execute a thread in java?

958


What are wrapper classes in java?

1080


What do you know about the garbage collector in java?

1091