Please enable JavaScript to use CodeHS

AP CSA: MOD-2.D.3

CodeHS Lessons

In non-void methods, a return expression compatible with the return type is evaluated, and a copy of that value is returned. This is referred to as “return by value.”

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