This article completes my introduction to new Java language features introduced in Project Coin, the JDK 7 language update. So far I have introduced try-with-resources, switch-on-string, multi-catch, ...
Event-driven design has been around for quite some time. Within Java, both AWT (Abstract Window Toolkit) and Swing are based on an event model. Java provides the classes EventQueue, AWTEvent, ...
Instance main methods and unnamed classes, coming in Java 21, will forever change how developers learn Java and bootstrap applications. Why? They provide a simple, clean and concise syntax to launch ...
While it seems so basic that it wouldn't require a mention, there's a basic and often violated software design principle pertaining to Java method modifiers that is in need of explanation. A public ...