Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inner Class

 
KasiMurugan Ramasamy
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic