• Post Reply Bookmark Topic Watch Topic
  • New Topic

confused by inner classes  RSS feed

 
J. Kevin Robbins
Bartender
Posts: 1801
28
Chrome Eclipse IDE Firefox Browser jQuery Linux MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I'm reading Thinking in Java (3rd edition) and the chapter on inner classes has my head swimming. Inner classes, anonymous inner classes, multiply-nested inner classes, inheriting from inner classes, local inner classes, implementing interfaces in inner classes....

ARGH!!!

Can anyone recommend a book or website that clearly explains the why and how of inner classes? Something you read that made you go, "Oh yeah, that makes sense now."
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jk Robbins wrote:Can anyone recommend a book or website that clearly explains the why and how of inner classes? Something you read that made you go, "Oh yeah, that makes sense now."

Yes. Effective Java, v2, Chapter 4, Item 22.

Winston
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!