Originally posted by catherine powell:
...1. Does anyone know if there is any way to specify a modifier (for example strictfp) on an anonymous class? ...
I don't believe that's possible. Anonymous classes allow you to define only the
class body (understanding that the reference will be automatically upcast, so you don't want to introduce anything that's not already declared in the supertype).
Originally posted by catherine powell:
...2. Am I correct in saying that the only modifiers that can be applied to static nested classes are: final, strictfp, coderanch, protected and private? ...
Note that static nested classes can be abstract...