a variable whose scope is restricted to the method where it was declared is known as a(n)