What's strange about Java? Every programming language has its quirks and Java is no different. In this post, I present one of Java's oddities, which was introduced to this language in the Java 8 release.
Basing applications on interfaces
A Java application consists of at least one class that declares a main() entry-point method with the following header -- args is optional and can be replaced with another non-reserved identifier:
public static void main(String[] args)
For example, you create a simple SayHello application whose main() method outputs a hello message. The source code appears in Listing 1.