studying help in java