Java1 code