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

What is anonymous class?

Answer Posted / rimjhim

it is a local inner class without any name.
it is instantiated at the time of declaration and must be
extended by a class or implemented by an interface.

new [class name](argument list){anonymous class body};

overridden functions can be declared in this calss and it
can have only one new method inside it.more than one can
not be called anywhere.
using dot operator we can call that new function.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is anagram number?

951


What is super?

1162


What are mutable classes?

1057


What is garbage collection? Can it be forced to run?

1007


Do you know why doesn't the java library use a randomized version of quicksort?

953


What is the += operator called?

1061


What is difference between equal and == in java?

959


What is the meaning of variable in research?

1018


What does 0 mean in boolean?

977


What are examples of modifiers?

1127


What is a prefix function.write down a code to compute prefix function.

1057


Explain java heap space and garbage collection?

1072


What type of variable is gender?

990


What is byte code and why is it important to java’s use for internet programming?

1131


What is int short for?

1050