I have an array of cards. It looks like this
String cards[][] = {{"Spade", "Heart", "Club", "Diamond"},
{"1","2","3","4","5","6","7","8","9","10","J","Q","K"}};
how would I get the suit and the "rank" of the card. I have tried
System.out.println (cards[1][5] + " of " + cards [1]);
but that gave me this
6 of [Ljava.lang.String;@1242719c
which is not what I wanted it to print.
How could I solve this issue?