initialize a 2d array with -1 in java code example
Example: how to initialize one dimensional array in java
int[] a; // valid declaration
int b[]; // valid declaration
int[] c; // valid declaration
int[] a; // valid declaration
int b[]; // valid declaration
int[] c; // valid declaration