News

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 ...
Why does Java's standard class library contain empty interfaces like Cloneable and Serializable? Find out why in this sixth installment in the "Object-oriented language basics" series. You'll also ...
Here’s an example of how a Function and lambda expression work together: Function<Integer, String> verboseLambda = (Integer x)-> { return Integer. toString (x*x); }; System.
Do you need an example of how to use Java's UnaryOperator in a functional Lambda expression? This tutorial shows you where when and how to use the UnaryOperator interface in a function.
Learn about serialization in Java with our comprehensive tutorial. We provide examples to help you understand how serialization works.