News

In this Java 101 tutorial, I’ve explained how interfaces differ from classes, and showed you how to declare, implement, and extend interfaces in your Java programs.
Sealed classes make Java an even more powerful and expressive language and set the stage for even more sophisticated techniques such as pattern matching, which we'll explore in a subsequent article. A ...
The functional Predicate interface gets used extensively by the Java 8 Streams API. Any developer who wants to master functional programming in Java will need to be comfortable with the Predicate ...
For an introduction to Java interfaces, including the difference between classes and interfaces, see my Java 101 tutorial Working with interfaces in Java. Nesting interfaces in classes.