previous | start | next

Answers

  1. Inner classes are convenient for insignificant classes. Also, their methods can access variables and fields from the surrounding scope.
  2. Four: one for the outer class, one for the inner class, and two for the DataSet and Measurer classes.


previous | start | next