This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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: 323
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: use of a private class and anonymous innerclass
 
It's not a secret anymore!