Simple example of Java clases