Code that illustrate some of the Java features

The code is a result of study notes. Needs to be reorgnized into more
structural document.