News

Abstract classes and interfaces in Java serve fundamentally different purposes. Learn the differences between these Java language elements and how to use them in your programs.
There are numerous new classes, enums, methods, and interfaces being added to JDK 7 that may not get significant coverage in the blogs and articles on Java 7. In this post, I list and describe ...
The release of Java SE 15 in Sept 2020 will introduce "sealed classes" (JEP 360) as a preview feature. A sealed class is a class or interface which restricts which other classes or interfaces may ...
If you want to master functional programming, the best place to start is with the Java Function interface. This example will show you four different ways to implement this functional interface in your ...
An XML element attribute is a tag property that adds additional information to XML data. You can use the Java JDOM classes to read the XML data including the element's attribute property.
The functional consumer interface is a key part of the Java Streams API. Here is a simple Consumer interface example to show you how to use this Java component.