Local Inner Class

suggest change

Versions

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.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents