What is anonymous inner class?



What is anonymous inner class?..

Answer / Virat Tiwari

An anonymous inner class is a subclass whose name is not known and is declared without a name within the body of another class or method. They are created when an object of the inner class is instantiated.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is JDK? Mention the variants of JDK?

1 Answers  


What is a Null object?

2 Answers   Wipro,


What is the common usage of serialization?

1 Answers  


How the interruptible method gets implemented?

1 Answers  


Is it possible to use string in the switch case?

1 Answers  


What is the size of int in 64-bit jvm?

1 Answers  


Tell me a few examples of final classes defined in Java API?

1 Answers   DELL,


Is void a data type?

1 Answers  


Explain a situation where finally block will not be executed?

1 Answers  


What is the purpose of finalization?

4 Answers  


What is indexof in java?

1 Answers  


What is a null point?

1 Answers  


Categories