refactor to use polymorphism
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package Sorting;
|
||||
|
||||
public class WordSelectionSorter extends WordSorter{
|
||||
public class WordSelectionSorter extends Sorter{
|
||||
|
||||
public WordSelectionSorter(RandomWordFileReader reader){
|
||||
super("selection sort", reader);
|
||||
|
||||
Reference in New Issue
Block a user