previous | start | next

Self Check

  1. Why is the draw method added to the SelectionSorter class and not the SelectionSortComponent class?
  2. Would the animation still work if the startAnimation method simply called sorter.sort() instead of spawning a thread that calls that method?

previous | start | next