| Author |
what is the need of inner class
|
Praveen palukuri
Ranch Hand
Joined: Feb 10, 2005
Posts: 65
|
|
hi, would u please tell me the definition and need of inner classes Thanks in advance.
|
 |
Steve Morrow
Ranch Hand
Joined: May 22, 2003
Posts: 657
|
|
The Java� Tutorial - Nested Classes Note: an inner class is a special kind of nested class.
|
 |
marc weber
Sheriff
Joined: Aug 31, 2004
Posts: 11343
|
|
|
Also see the JavaRanch campfire story, "Getting in touch with your inner class."
|
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
|
 |
Junilu Lacar
Bartender
Joined: Feb 26, 2001
Posts: 4118
|
|
|
One practical use of inner classes that I am increasingly adopting in my own work is for callbacks. See http://static.springframework.org/spring/docs/1.2.x/reference/orm.html#d0e7496 for an example
|
Junilu - [How to Ask Questions] [How to Answer Questions] [MiH]
|
 |
Naveen Vooka
Greenhorn
Joined: Oct 13, 2004
Posts: 25
|
|
http://java.sun.com/docs/books/tutorial/java/javaOO/innerclasses.html http://www.javaworld.com/javaworld/javaqa/2000-03/02-qa-innerclass.html http://builder.com.com/5100-6386-5035155.html -------------- Naveen Vooka www.devsquare.com DevSquare - Online Application Development
|
 |
 |
|
|
subject: what is the need of inner class
|
|
|