News

In this blog post, I look at the concept of Java synthetic methods . The post summarizes what a Java synthetic method is, how one can be created and identified, and the implications of Java ...
invokedynamic was the first new Java bytecode since Java 1.0 and was crucial in implementing the "headline" features of Java 8 (such as lambdas and default methods). In this article, we take a ...
The Java Language Specification (JLS) is being updated with a more flexible launch protocol to offer greater flexibility in declaring a program's entry point and to allow instance main methods.
I wrote about the NetBeans hint "Overridable Method Call in Constructor" in the blog post Seven Indispensable NetBeans Java Hints . In this post, I look at why having an overridable method called ...
How to use the JOptionPane’s showOptionDialog method Java’s JOptionPane provides a simple way to read input from the user and display information back. The JOptionPane’s list of methods includes many ...
How to add Java Scanner char support The Java Scanner class provides methods that take String input and convert that String into any Java primitive type you might need, except for one: the char.
We discuss how to work with directories, sub-directories, and traverse them using Java and the DirectoryStream method. Learn more.