Array as parameter: When an array is passed to a method, the method receives a copy of the reference, so changes to elements affect the original.
How to apply it: Recognize that modifying arr[i] inside a method changes the caller's array.
Course: AP Computer Science A · Unit: Array
Practice questions about Array as parameter on AimFive — get rubric-based feedback showing exactly which points you earned.
AP and Advanced Placement are trademarks of College Board. AimFive is not affiliated with or endorsed by College Board.