7.11 Scope of variable/method definitions

12345678910
Across
  1. 3. A declared variable in a method as scope LIMITED to ______ that method.
  2. 6. A variable declared within a class but OUTSIDE any method, extends from a class' { to }
  3. 7. Name of a defined variable only visible to part of a program
  4. 9. A method is visible to ANY other method defined in the same ______.
  5. 10. A local variable and a parameter having the same name will generate an ______.
Down
  1. 1. (Fill) A scope starts ______ declaration until method's ____.
  2. 2. (Fill) A local variable is declared _____ a method, while a field is declared _____ any method.
  3. 4. (2 words) This occurs when a method updates a field & its effects go beyond its parameters & return value.
  4. 5. If a local variable has the same name as the field, the method refers to which item?
  5. 8. Accessing a variable in main() when from another method generates what kind of error?