Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
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
Static class in java
Static local inner class
the Quession about static of inner class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013