I need some help how to sort an ArrayList of objects. I have the superclass Account and two subclasses SavingsAccount and CreditAccount. Inside the Account class I have this met
Use Collections.sort(accountList ); to sort the ArrayList
Collections.sort(accountList );
ArrayList