This is one of the simplest programs written in Java.