Underscore ("_") is a keyword in Java 9. If you use "_" as an identifier, javac of JDK 8+ issues a warning. javac of JDK 9, issues an error! To check and migrate your Java code to avoid using "_" as an identifier, you can use the following Nashorn script...
Read more »
Problem Statement Even the most basic problems become interesting when you dig deep enough. Today, I would like to do a deep dive into measuring time in Java. We will start with the very basics of the Java API and gradually move lower in our stack: throug... (more…)
Read more »
On May 23, 1995, Sun Microsystems released Java. This means that Java turns 25 years old and that is something we need to celebrate! Let's try to decide if Java aged like fine wine or more like milk. (more…)
Read more »
Here are few Java Garbage Collection questions that may help in your next interview. ... (more…)
Read more »
Philippe Back's answer: One would learn Smalltalk before Java so that one will be aware that there are other ways than factories, helpers, proxies, and such Java often used “idioms.”... (more…)
Read more »