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