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 Help: 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 "Help: anonymous class" Watch "Help: anonymous class" New topic
Author

Help: anonymous class

mark stone
Ranch Hand

Joined: Dec 18, 2001
Posts: 417
I need help with the following :
1. write an anonymous class to handle any component event.
2. understand the namespaces that such a class creates.
can someone write a very simple class (simple and small to understand the concept). and what exactly does namespace mean ? i have searched the index of KM but did not find it.
patrick tang
Ranch Hand

Joined: Dec 16, 2001
Posts: 44
compare the following two
1. using inner anomoyous class

2. not using inner class

hope this helps

ps:
Added the [ code ] and [ / code ] tags (without the spaces).
- satya

[This message has been edited by Madhav Lakkapragada (edited December 19, 2001).]
mark stone
Ranch Hand

Joined: Dec 18, 2001
Posts: 417
what is namespace ?
 
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: Help: anonymous class
 
It's not a secret anymore!