Continuing with Nutshell

"Instead of defining a local class and then instantiating it, you can often use an anonymous class to combine these two steps... An anonymous class is defined by a Java expression, not a Java statement. This means that an anonymous class definition can be included within a larger Java expression..."

File: ah.htm [Next] [Prev]