Java Sealed Classes

The release of Java SE 15 in Sept 2020 will introduce “sealed classes” (JEP 360) as a preview feature. A sealed class is a class or interface which restricts which other classes or interfaces may extend it. Sealed classes, like enums, capture alternative… Read more

Similar

Java’s Evolution

This section gives a short history of Java’s evolution. It is based on various published sources (most importantly an interview with Java’s creators in the July 1995 issue of Sun World’s online magazine). Java goes back to 1991, when a group of Sun engine... (more…)

Read more »

The Final Kiss in Java

This post outlines the benefits of using the final keyword in Java. We are now in an age of complex multi-core CPU environments with virtual machines running functional programming features like la… (more…)

Read more »