previous | start | next

Answers

  1. The draw method uses the array values and the values that keep track of the algorithm's progress. These values are available only in the SelectionSorter class.
  2. Yes, provided you only show a single frame. If you modify the SelectionSortViewer program to show two frames, you want the sorters to run in parallel.


previous | start | next