News

Get a deep dive into using method references in your Java programs, including stream operations, event listeners, and constructors and factories.
Do you have a single class in your Java design that does too much and knows too much? If so, you've fallen into the God object antipattern. Here's a look at how to refactor your God object and ...
JEP 450 (Compact Object Headers) has been targeted for delivery in JDK 24. This currently experimental feature optimizes heap utilization by shrinking the size of the mandatory object header in ...
We discuss how to work with directories, sub-directories, and traverse them using Java and the DirectoryStream method. Learn more.
Creating a Java string Below is one simple syntax for creating a Java string. String greeting = "Hello world!"; In this example, "Hello world!" is a string literal, which is a series of characters ...