Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args) {
- System.out.println("Welcome to the interactive demo!");
- Student[] mainArr = deepCopy(readList());
- System.out.println("Average score is: " + averageScore(mainArr));
- System.out.println("Array sorted by Name: ");
- sortByName(mainArr);
- displayList(mainArr);
- // retrieveScore(mainArr, name); unsure
- System.out.println("Array sorted by Merit: ");
- meritSort(mainArr);
- displayList(mainArr);
- System.out.println("Thank you for using the demo!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement