News

We often debate the merits of iterative vs recursive Java code. Let’s take a look at 5 Java recursion examples and see where the concept of recursion fits.
How to write a Java palindrome program for Strings Good programmers need to create code that efficiently solves problems, using various methods. A popular academic exercise is to create a program that ...
In this blog post, I look at how Java code can use the Package class to access version information about a particular Java package’s specification and implementation.
JEP 443, Unnamed Patterns and Variables (Preview), has been Completed from Targeted status for JDK 21. This preview JEP proposes to "enhance the language with unnamed patterns, which match a ...
The Design by Contract technique stresses the importance of explicitly specifying the constraints that hold before and after a software component executes.