Why inner class can not have static data, static fields or nested class?
Quote from <Thinking in Java>, chapter 8:
"Fields and methods in ordinary inner classes can only be at the outer
level of a class, so ordinary inner classes cannot have static data,
static fields, or nested classes."
Will anybody tell me what means "at outer level of a class"? Thanks
|All times are GMT. The time now is 01:42 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.