The Java Stream API wasn't working the way it was supposed to. There is a fix, but it's interesting to see what exactly went wrong.
Read more »
If you are still working with Java 8, you might have mixed feelings about the news of the release of Java 16. However, you’ll see these numbers are going to increment at a much faster and predictable... (more…)
Read more »
When the Java Virtual Machine compiles your Java code to machine code, one of the jobs it needs to do is to decide where to store Java local variables and other similar temporary values. Your machine has no concept of local variables, so during compilatio... (more…)
Read more »
Project Loom has three main goals: introducing continuations, fibers, and tail-call elimination. (more…)
Read more »
Write an program to reverse a string in Java. We have covered 10 different ways (and 15 different implementations) to reverse a string in java -... (more…)
Read more »