A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Static Inner class
Joined: Oct 24, 2000
Nov 04, 2000 16:45:00
Static inner class ( as member of enclosing class NOT local) can have static var. .. right?
but what about static method? I guess it can have static method as well... am I right?
Sean <br />SCJP2, SCJP2p1.4, SCWCD
Joined: Oct 04, 2000
Nov 04, 2000 17:32:00
Yes, I think you are right.
I agree. Here's the link:
subject: Static Inner class
the Quession about static of inner class
Static class in java
Static local inner class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014