help needed
/* * Shuffle Deck Class * A class which represents a Deck of cards. For this assignment, you will need to implement the method shuffleDeck, * which appears at the bottom of this class. */ import java.util.ArrayList; public class Deck { /* Your code goes here */ } //SHUFFLE **************************** DO NOT EDIT BELOW!********************************** //You will need to implement the shuffleDeck method in order for this class to be accepted. public ArrayList <Card> shuffleDeck () { ArrayList <Card> t = new ArrayList <Card> (); int i = 0; int n [] = new int [52]; for (int j = 0; j < 52; j++){ i = (int)(Math.random()*52); while (n[i] != 0) i = (int)(Math.random()*52); n[i] = 1; t.add(deck.get(i)); } return t; } }