This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android this week in the Android 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: 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: use of a private class and anonymous innerclass
 
It's not a secret anymore!