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 another modifier for 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 "another modifier for method-local inner class" Watch "another modifier for method-local inner class" New topic
Author

another modifier for method-local inner class

Vad Fogel
Ranch Hand

Joined: Aug 25, 2003
Posts: 504
K&B, p.479:

❑ The only modifiers you can apply to a method-local inner class are
abstract and final. (Never both at the same time, though.)

strictfp is another modifier that can also be combined with either final or abstract.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: another modifier for method-local inner class
 
Similar Threads
local-method inner class
what is the purpose for allowing local variables as abstract ?
final keyword for method parameters
static modifiers
access modifiers for method inner classes