I am trying to declare buckets as an array of an ArrayList<>(). Is it possible? If so what am I doing wrong?
ArrayList []buckets1 = Array