This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Java in General and the fly likes Inner Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Inner Class" Watch "Inner Class" New topic
Author

Inner Class

KasiMurugan Ramasamy
Ranch Hand

Joined: Jan 30, 2005
Posts: 125
Dear Friends,

I would like to know about class loading for inner class and static initialization for inner class.


When is innerClass loaded to JVM.(Whether at the time of the parent class loading or not).

Why java don't allow static declaration part in Inner classes(inner class, anaymous innerclass, and local class).


Thanks & Regards
Kasimurugan (SCJP1.4, SCBCD1.3), Preparing SCWCD1.4
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Inner Class