3310 assignments in java