The code will not compile, the compiler will publish
COMPILATION ERROR :
-------------------------------------------------------------
... error: Illegal static declaration in inner class blah.Foo.Bar
1 error
To compile this code, you must have an inner class static.
source
share