How it is possible to initialize an array in this form with null values in Java?
int array[][] = {
{1, 6, 4, 1,-1},
{6, 3, 3, 3, 9},
{6, 3, 3, 3, 9},
{6, 3, 3, 3, 9},
{6, 3, 3, 3, 9}
};
I tried that, but it doesn't work (is that possible?):
int array[][] = {
{1, 6, 4, 1,-1},
{6, null, 3, 3, 9},
{6, 3, 3, 3, 9},
{6, 3, 3, null, 9},
{6, 3, 3, 3, 9}
};
Thanks