Java assignment