When Java shows up at a party, it always brings a delicious dessert.
Test your knowledge of Java classes, such as their valid names, the use of variables inside a method, and the number of import statements.
Work with lists while avoiding unpleasant UnsupportedOperationException errors.
With Helidon SE, client applications can regulate asynchronous traffic by signaling remote publishers how much data to send at a time.
When doing currency calculations in Java, you might use java.math.BigDecimal—but beware of some of that class’s unique challenges.
Streams are complicated. With the right approach, they can be very efficient too.
Hidden classes, sealed classes, text blocks, records, and EdDSA: There’s lots of goodness in JDK 15.
Know which command-line utilities are mandatory for distributing applications with a custom JRE.
Step-by-step creation of a small project that has practical utility
Do you know how to use Optional? Find out in the latest by Simon and Mikalai.
PreparedStatement sends SQL to a database. Let’s see how it works.
Creating custom plugins for the Apache Maven build tool is easier than you might think.
How to avoid Optional class antipatterns and design smells—all while streamlining application development
This intermediate-level Java SE 11 certification quiz tests your ability to declare modules and enable access between modules.
This Java certification quiz investigates the meaning of default accessibility and how it influences classes in different packages.
Former Java Magazine editor Andrew Binstock reviews an updated classic work that’s great for all coders.
Understanding the checked exception mechanism requires that you understand how to declare a method that throws a checked exception, and how that differs from a method that either does not throw any exceptions or throws only unchecked ones.
How to use Flink’s built-in complex event processing engine for real-time streaming analytics
One of the cornerstones of any well-written application is good performance, and that often means being able to run two or more tasks at the same time in parallel.
Follow these dozen best practices to protect your applications against ugly null pointer exceptions—and make your code more readable and concise.