News

A colleague of mine recently ran into an issue that I have not run into myself, but found to be interesting and, in my opinion, worth blogging about here. During some distributed Java development, my ...
If you’ve read my Java 101 tutorial introducing static classes and inner classes, you should be familiar with the basics of working with nested classes in Java code. In this Java tip, you’ll learn ...
As far as I can tell the reason to have nested test classes be static is that you usually want to build on the outer class(es)' structure and state. Unfortunately this bars the use of ...
Instance main methods and unnamed classes, coming in Java 21, will forever change how developers learn Java and bootstrap applications. Why? They provide a simple, clean and concise syntax to launch ...
Since support for configuring the test instance lifecycle was dropped after the prototype, @BeforeAll and @AfterAll methods are now required to be static. Consequently such methods can no longer be ...
A general, objective method is presented for the calculation of class intervals for statistical maps. The arithmetic mean divides a numerical array into two classes and the means of each of these two ...