This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes use of a private class and anonymous innerclass Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "use of a private class and anonymous innerclass" Watch "use of a private class and anonymous innerclass" New topic
Author

use of a private class and anonymous innerclass

kundan varma
Ranch Hand

Joined: Mar 08, 2004
Posts: 322
HI All
What is the use of a private class ?
What is the use of anonymous inner class ?
one more thing why cant we declare top level class as private or protected??
THanks
kundan


SCJP1.4,SCBCD,SCEA,CNA
Failures are practice shoots for success.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: use of a private class and anonymous innerclass
 
Similar Threads
Anonymous inner class
Anonymous class ???
Inner Class
Anonymous class concept
anonymous class