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

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -