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.
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 ...
When a Java wants to connect to a database, it calls upon a JDBC interface known as the DriverManager, which loads a driver that has been written specifically by the vendor of the database to which ...
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 Java lets ...