Pergunta de entrevista da empresa Westpac Group

Why does java NEED to pass objects by reference.