Please enable JavaScript to use CodeHS

AP CSA: MOD-2.D.4

CodeHS Lessons

When the return expression is a reference to an object, a copy of that reference is returned, not a copy of the object.

Standard
5.4 Accessor Methods
Standard
4.6 Getter and Setter Methods
Standard
6.6 Getter and Setter Methods
Standard
6.6 Getter and Setter Methods
Standard
11.4 Accessor Methods
12.6 Getter and Setter Methods
Standard
11.4 Accessor Methods