Question d’entretien chez Westpac Group

Why does java NEED to pass objects by reference.