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 are the steps involved to write rmi based programs?
What is :: operator in java 8?
What is anagram number?
Do I need java on my pc?
What is += mean in java?
What is loop in java?
List types of storage classes in java?
What is the default value of byte datatype in java?
How do you remove spaces in java?
What is time complexity algorithm?
How do you empty a list in java?
What is string [] java?
What is the purpose of using javap?
Can I use % with real numbers?
Explain JMS in detail.