This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Similar Threads
Application Trouble
Nested class, inner class question
StackOverflowError error at Runtime :(
Example of anonumous class
a simple question