Please enable JavaScript to use CodeHS

AP CSA: MOD-2.F.4

CodeHS Lessons

When an actual parameter is a primitive value, the formal parameter is initialized with a copy of that value. Changes to the formal parameter have no effect on the corresponding actual parameter.

Standard
5.6 Writing Methods
Standard
4.12 Objects vs Primitives
Standard
6.12 Objects vs Primitives
Standard
6.12 Objects vs Primitives
Standard
11.6 Writing Methods
12.12 Objects vs Primitives
Standard
11.6 Writing Methods