File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Method local Inner Class
Joined: May 09, 2008
May 09, 2008 14:09:00
Method local inner class cannot use method local variables. But it can use method local variables marked as 'final'. Why is it so?
Joined: Aug 31, 2004
May 09, 2008 14:48:00
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award."
I agree. Here's the link:
subject: Method local Inner Class
Method local inner class
Method Local inner class
inner classes see everything?
method-local inner class object cannot use the local variables
Inner classes and local variables
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015