Introduction to Java class assignments