In the chapter on Inner classes, I had promised that we will look in more detail about the different types of inner classes. Well here we are. In the series of types of specialized inner classes our next stop is “Anonymous” ones.
So far we’ve looked at defining a class within an enclosing class (a regular inner class) and within a method (a method-local inner class). Finally, we’re going to