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
What is anagram number?
What is super?
What are mutable classes?
What is garbage collection? Can it be forced to run?
Do you know why doesn't the java library use a randomized version of quicksort?
What is the += operator called?
What is difference between equal and == in java?
What is the meaning of variable in research?
What does 0 mean in boolean?
What are examples of modifiers?
What is a prefix function.write down a code to compute prefix function.
Explain java heap space and garbage collection?
What type of variable is gender?
What is byte code and why is it important to java’s use for internet programming?
What is int short for?