Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

another modifier for method-local inner class

 
Vad Fogel
Ranch Hand
Posts: 504
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic