News

Anonymous inner classes are mostly used for event handling in Java. However they can also prove useful for debugging purposes. This article explains how anonymous inner classes can be used for ...
Anonymous inner classes have undesirable characteristics that can impact the performance of your application. First, the compiler generates a new class file for each anonymous inner class.
Because it’s my bag, I’ve found that many Java developers aren’t aware of how to leverage anonymous classes. Indeed, they are an extremely handy feature, which can yield concise, but ...