I am new to java. When I was going through language specification I found that static classes cannot be declared, but we can have static inner classes. I am little confused
A top-level class is by definition already top-level, so there is no point in declaring it static; it is an error to do so.
Static class declarations