static/inner classes
I recently came across the following compile error:
"inner classes cannot have static declarations"
AKA
class X
{
private class Y
{
private static int x;
}
}
There's quick and easy ways around this for me but I was wondering why from a technical standpoint this is disallowed in Java. Also, if you could point me to the language specification on this topic, that would also be helpful.
Thanks

