previous | start | next

Self Check

  1. Why would an inner class method want to access a variable from a surrounding scope?
  2. If an inner class accesses a local variable from a surrounding scope, what special rule applies?

previous | start | next