Local Inner Class
suggest changeVersions
The original version list named Java SE 5, 6, 7, 8, and 9 (Early Access).
Introduction
A class created inside a block, typically a method, is called a local inner class in Java. If you want to invoke the methods of a local inner class, you must instantiate this class inside that block.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents