This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Method local Inner Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Method local Inner Class" Watch "Method local Inner Class" New topic
Author

Method local Inner Class

Anit Nair
Greenhorn

Joined: May 09, 2008
Posts: 12
Method local inner class cannot use method local variables. But it can use method local variables marked as 'final'. Why is it so?
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

See this topic.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
Don't get me started about those stupid light bulbs.
 
subject: Method local Inner Class
 
Similar Threads
Method Local inner class
inner classes see everything?
method-local inner class object cannot use the local variables
Inner classes and local variables
Method local inner class