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