Please enable JavaScript to use CodeHS

AP CSA: VAR-1.G.2

CodeHS Lessons

When there is a local variable with the same name as an instance variable, the variable name will refer to the local variable instead of the instance variable.

Standard
5.8 Scope and Access
Standard
4.10 Local Variables and Scope
Standard
8.8 Scope and Access
Standard
6.10 Local Variables and Scope
Standard
11.8 Scope and Access
12.10 Local Variables and Scope
Standard
11.8 Scope and Access
18.10 Local Variables and Scope
Standard
6.10 Local Variables and Scope