previous | start | next

Answers

  1. The scope of amount is the entire deposit method. The scope of newBalance starts at the point at which the variable is defined and extends to the end of the method.
  2. It starts at the beginning of the class and ends at the end of the class.


previous | start | next