package project3;
public class Deck {
private int remainingCards = 52;
public Deck()
{
for(int i = 0; i < 52; i++)
{
if(i == 0)
{
front =
new Node(new Card
(i
));
}
else{
front.
setNext(new Node(new Card
(i
)));
}
}
}
{
while(temp.getNext() != null)
{
output += temp + "\n";
}
return output;
}
}