Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Inner Class  RSS feed

 
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).
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!