File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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

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 agree. Here's the link:
subject: Help: anonymous class
It's not a secret anymore!