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

Inner Classes???

 
DD
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
could somebody point me towards some resources for Inner Classes?
Frankly I am getting pretty confused about the whole concept!!!
Are there any web links/tutorials exclusively for the same?
Thanks in advance,
Deb
 
Serge Plourde
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Deb,
One purpose of inner classes is to enable you to imbed an object which has access to all the members of the enclosing class(es) (If I'm wrong, could somebody out there please correct me?). Especially if that class is closely related to the enclosing class(es).
Did you try Sun's online/downloadable tutorials?
They're available at:
http://developer.java.sun.com/developer/onlineTraining/
If you want a good book, free, try this one Thinking in Java:
www.bruceeckel.com
...and look for "inner class" in the DocIndex.html.

------------------
Hope this helps.
Have a good day.
[This message has been edited by Serge Plourde (edited October 23, 2000).]
 
Glen Tanner
Ranch Hand
Posts: 147
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out Java Ranch's very own Campfire Story. It's been here since... well the Electronic Pork Chop, if you remember that! http://www.javaranch.com/campfire/StoryInner.html
 
DD
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Serge and Glen ,
I'll be sure to check out u'r links
In face I just checked out the Campfire story and...it is really excellent...thanks again
-Deb
[This message has been edited by Debabrata Deb (edited October 24, 2000).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic