Westpac Group Interview Question

Why does java NEED to pass objects by reference.