Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2027 exam
Verified for the 2027 exam•Written by the Fiveable Content Team • Last updated August 2025
Definition
A situation where a local variable or parameter with the same name as an instance variable causes the local variable to be referenced instead of the instance variable within the constructor or method body.