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 Inner classes and Statics 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 "Inner classes and Statics" Watch "Inner classes and Statics" New topic

Inner classes and Statics

Amit Batra
Ranch Hand

Joined: Mar 04, 2006
Posts: 361
Why cant regular inner classes have static declarations of any kind?
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
Why can't we have a static member within an inner class?
srilatha rao

Joined: Jun 01, 2006
Posts: 21
Great explanation, thanks wise
I agree. Here's the link:
subject: Inner classes and Statics
It's not a secret anymore!