Hi guys,
When in doubt play with some code
<pre>
public class TestStatic {
// static member class
static class StaticMember {
static int a;
}
// inner class
class Inner {
// the following produces the compiler error
// "inner classes cannot have static declarations"
// static int b;
final static int MAX = 20; // compiles ok - this is a CONSTANT
}
}
</pre>
Hope that helps.
[This message has been edited by Jane Griscti (edited July 28, 2001).]