News

See the Java 101 Java interfaces tutorial for a more in-depth introduction to using interfaces in your Java programs, including where and where not to use default, static, and private methods.
Readers have returned quite a bit of feedback concerning, “Abstract Classes Vs. Interfaces” from April 2001. A recurring request asks to see a complete example of using interfaces and abstract ...
How to use Java’s Function interface. For this Java Function interface example, we will provide a single method named “apply” that takes an Integer as an argument, squares it and returns the result as ...