R
Roedy Green
Static classes are like inner classes, but you don't need a outer
instance.
Two questions:
1. Is anyone outside the enclosing class supposed to be able to
instantiate them?
2. If so, with what syntax.
I am trying to instantiate a JSpinner NumberModel static class.
the Language spec talks about the nested classes, but not how to
instantiate them.
While I am at it, are you supposed to be able to instantiate inner
classes outside the class they are defined?
instance.
Two questions:
1. Is anyone outside the enclosing class supposed to be able to
instantiate them?
2. If so, with what syntax.
I am trying to instantiate a JSpinner NumberModel static class.
the Language spec talks about the nested classes, but not how to
instantiate them.
While I am at it, are you supposed to be able to instantiate inner
classes outside the class they are defined?