Clarifications to java instructions