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
Because it doesn't add any meaning. 'static' has a meaning when applied to nested classes. It has no meaning on an outer class. So you can't specify it.