This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Originally posted by Jeff Albertson: Did you mean to ask "Why can't we have static members in an inner class?" I've wondered about that before...
I'm not sure - but it might be to avoid confusion.
Because an inner class is a non-static member of the outer class, one could wonder whether there a static member of the inner class is "exactly one" or "exactly one per outer class instance".
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus