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 ...
Java 8 introduced a new list () method in java.nio.file.Files. The list method returns a lazily populated Stream of entries in the directory. As such, it is more efficient for processing large ...
In Java, we can implement whatever sorting algorithm we want with any type. Using the Comparable interface and compareTo() method, we can sort using alphabetical order, String length, reverse ...