Scope and access

A local variable lives only inside the block that declares it, and a parameter or local with the same name as an instance variable hides it there, while private limits who can use a member to code inside its own class.

From AP Computer Science A.