refactor to use polymorphism
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package Sorting;
|
||||
|
||||
public class NumberSelectionSorter extends NumberSorter {
|
||||
public class NumberSelectionSorter extends Sorter {
|
||||
//a class to sort an array of numbers using selection sort
|
||||
public NumberSelectionSorter(RandomNumberFileReader reader){
|
||||
super("selection sort", reader);
|
||||
|
||||
Reference in New Issue
Block a user