Collections ♣ Comparable
ArrayList doesn't have a sort method There is a sort method in the Collections class class A implements Comparable<Song> {} ArrayList<Song> B = new ArrayList<A>() Collections.sort(B)
b1
ArrayList doesn't have a sort method There is a sort method in the Collections class class A implements Comparable<Song> {} ArrayList<Song> B = new ArrayList<A>() Collections.sort(B)