I have this LinkedList called cardList. I have placed cards here using this:
cardList.add(new Card(int suit, int rank))
I can display the contents = 00, 01, 02 and so on ... with my suit being 0==Diamonds, 1 == Hearts, 2==Spades and 3==Clubs and the ranks are A, K, Q, J, 10 down to 2.
How do I display the contents of this cardList to see AD,1D, 2D and so on?
When I used toString(), the result was [[Ljava.lang.String;@1bc4459[Ljava.lang.String;@12b6651, ...