File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Inner classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Inner classes" Watch "Inner classes" New topic
Author

Inner classes

Anirban dutta
Ranch Hand

Joined: Aug 08, 2002
Posts: 89
Can inner classes be named inside a function ?
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
Yes. It's called a local inner class. If the method is static, this local inner class can only access static members of the enclosing class, as well as any local variables declared as final.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inner classes