Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Examples of all the types of inner classes

 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
okay.. so I'm looking at inner classes and would love it if someone would walk me through the inner classes and why we might need each of them
static inner class
member inner class
local inner class
anonymous inner class
-Regards,
Dale DeMott
 
James Swan
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a read of this article:
http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-java101.html?
James.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic