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 / anonymous

Hi Uday,

That's really nice however I think you have just created and anonymous class implementing the interface, and then invoking the wish method :)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between thread and runnable types? : Java thread

998


What are white spaces in java?

1041


Why is string class considered immutable?

1047


What is array pointers ?

1023


Can we have more than one package statement in the source file?

1054


What is string and example?

1032


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

1010


Is final static java?

1007


What is the abstraction?

1015


What is maximum size of arraylist in java?

1020


Why bytecode is called bytecode?

1195


What are inbuilt functions?

981


State the significance of public, private, protected class?

1105


How do you do descending order in java?

966


What are access specifiers available in java?

1003