<code>void replace(int[] arr) { arr = new int[10]; }</code> — caller's array
- A
Throws exception
- Bcheck_circle
Unchanged (parameter is local; reassigning doesn't affect caller)
- C
Replaced with new
- D
Becomes null
Explanation
Pass-by-value: reassigning the parameter doesn't change the caller.