News
This post explains how to use classes in Java to build objects and organize your code. Also learn: constructors, static methods, and more!
Typesafe enums offer a better alternative to Java's traditional enumerated types. Here's how to use typesafe enums correctly in your Java code.
Learn how to use Java annotations to associate metadata with classes, methods, and other application elements in your Java programs.
Sealed classes in Java let developers limit the creation and use of subclasses and preserve the class hierarchy. Here is how sealed classes in Java work.
The pattern matching feature in Java lets app developers handle complex data structures such as abstract layers and class hierarchies. Here's how it works.
Java 16 Stream API provides new methods for commonly used terminal operations and help reduce boilerplate code clutter Record is a new Java 16 language feature to concisely define data-only classes.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results