java - The type of the expression must be an array type but it resolved to Card -
I am doing practically with my project and I get this error:
< Em> "The expression type should be an array type, but it was resolved for the card"
It is on the line that reads: deck [i] = new Card [i];
Here is the code:
Public square deck
What am I doing?
remove card
to use that example array bracket that you just have Created
deck [i] = newcard; ^
Comments
Post a Comment