2
Contributors
2
Replies
6
Views
4 Years
Discussion Span
Last Post by JamesCherrill
0

To make myself clearer, I have problem with the syntax rather than the code.

1

It's called an anonymous inner class, it defines a new subclass of Handler and creates an instance of it. Google Java anonymous inner class for tutorials etc.

Votes + Comments
Very helpful. Thank you.
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.