posted 17 years ago
Dear Wise,
i could not able to understand the below statement.could you please explain this.
The static keyword may modify the declaration of a member type C within the body of a non-inner class T. Its effect is to declare that C is not an inner class. Just as a static method of T has no current instance of T in its body, C also has no current instance of T, nor does it have any lexically enclosing instances.
i understood the below statement.
It is a compile-time error if a static class contains a usage of a non-static member of an enclosing class.
is this related to first statement
Member interfaces are always implicitly static. It is permitted but not required for the declaration of a member interface to explicitly list the static modifier.