I'm trying to construct an array of array using Objects. I created the Object Block which contains multiple variables in it. I wrote:
Block[][] block = new Block[4][4];
Now I am having an error when I insert:
block[1][1] = new Block(); // As what I've understood, we still need
// to create the object inside this specific block[][]
The error message is:
Cannot find symbol, ']' expected and Invalid method declaration, return type required
Block()have a parameterless constructor?Blockhave visible parameterless constructor?