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 Programmer Certification (SCJP/OCPJP) and the fly likes Anonymous class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Anonymous class" Watch "Anonymous class" New topic
Author

Anonymous class

Hans-Li
Greenhorn

Joined: Oct 12, 2000
Posts: 2
An instance of An Anonymous inner class can only be created in it outer class .(True/False)? Why?
bill bozeman
Ranch Hand

Joined: Jun 30, 2000
Posts: 1070
False, Anonymouse classes are created in methods and these can for methods of inner classes or outer classes.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Anonymous class
 
It's not a secret anymore!