File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Static Inner class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Static Inner class" Watch "Static Inner class" New topic

Static Inner class

sean cee
Ranch Hand

Joined: Oct 24, 2000
Posts: 115
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
Santosh Jaiswal

Joined: Oct 04, 2000
Posts: 26
Yes, I think you are right.
I agree. Here's the link:
subject: Static Inner class
It's not a secret anymore!