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 application of stack?
What is downcasting?
How do you override a variable in java?
What is the best definition for data?
Can we catch more than one exception in single catch block?
Is it possible to use string in the switch case?
What is the difference between compiler and jvm?
What is final method?
What are data types in oop?
Is 0 true or false?
os is developed in c no java is more secured then c na why dont the os developed is developed using java
Name four container classes.
What is jvm? How its run?
What is another word for methodology?
What does java edition mean?