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

OMG, Java is so verbose, guys

…are they describing a laconic supermodel or a freaking computer language? Your guess is as good as mine. All of the above stand in stark contrast to what Java is considered to be: verbose and…...

Read more »

A Guide to Streams in Java 8

Get a detailed guide on the new Stream functionality in Java 8. See how various operations are supported and how lambdas and pipelines can be used to write concise code. Understand some characteristics of streams like lazy evaluation, parallel and infinit... (more…)

Read more »