Introduction to Java class