I'm making a card game and I want to make a shuffle class to randomize the cards.
I'm using an arraylist to store all the cards and I was planning on using the arraylist as a parameter for my constructor, but netbeans won't let me do it.
I was hoping it'd look like
class.shuffle(arraylist);
And then I could use that in my main class to shuffle the cards.