O'Reilly logo
  • Adil Hassan thinks this is interesting:

But a method local inner class can’t define static variables or static methods.

From

Cover of OCP Java SE 7 Programmer II Certification Guide: Prepare for the 1ZO-804 exam

Note

A method local inner class can define static final variables.
A method local inner class cannot define static or static final variables.