1) You need to override toString()
in the Cards
class. As is, you are printing out the reference of the object(the gibberish) instead of the "data." You should also override the toString()
method of Deck
to only print out the list.
2) I'm stepping through your code snippet of makeDeckFull()
, and it seems to work fine. Are you sure those three inserts are where you are getting the invalid print statements?