previous
|
start
|
next
Anonymous Classes
anonymous
new
expression:
defines anonymous class that implements
Comparator
defines
compare
method of that class
constructs one object of that class
Cryptic syntax for very useful feature
previous
|
start
|
next