Yes, you can have a inner class inside a method and final variables can be accessed.

You can see the full list of Java Interview Questions Here

If you have any questions or comments please email me at john@johnathanmarksmith.com



Published

30 May 2013

Tags