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

python - rpy2 import is not working -

javascript - How to get MySQL query result returned using $.ajax -

javascript - How to use the code plugin with popcornjs -