Naveen ,
Consider static inner class as a static member of the the enclosing class.Remember the static methods which can be accessed using the ClassName.methodName() syntax.Also the static members of a class are not associated with the instances of the enclosing class.So the syntax
is incorrect.It should be
Jothi replied
What are those semicolons...What do they imply??
You can add as much as semicolon in the source file both inside and outside the class/interface declaration(if I am not wrong). They will be considered as a null statement.