previous | start | next

Answers

  1. Direct access is simpler than the alternative–passing the variable as a parameter to a constructor or method.
  2. The local variable must be declared as final.

previous | start | next