News

This article sheds light on how Java 8 lambda expressions and method references are implemented under the hood, and looks at the generated bytecode and performance implications.
Classes and objects in Java must be initialized before they are used. You’ve previously learned that class fields are initialized to default values when classes are loaded, and that objects are ...
This article explores some of Java 8’s new features, using both Java’s proposed syntax and Scala. We cover lambda expressions, higher-order functions, parallel collections and virtual ...
Here's a quick look at the three types of class loaders and everything you need to know to work with them in your Java programs.
What is the single responsibility principle? The single responsibility principle in Java demands that a class serves a single, clear purpose. Any attempt to add peripheral functionality to a ...