News

There is a reason why Java method modifiers exist. If you call public methods internally and don't understand why, your developers could face major class issues.
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.
Developers who create a runnable Java class, be it for a ‘Hello World’ demonstration or to kick off a fully featured enterprise application, will enjoy the following technical benefits when using ...
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 ...
We discuss how to work with directories, sub-directories, and traverse them using Java and the DirectoryStream method. Learn more.
Do you need to know how to sort Java objects in a collection, array, or map? Here's how to use the Comparable and Comparator interfaces and avoid ClassCastExceptions.