Fill in the following code snippets, declaring an array a of integers with the specified properties. Elements should be zero unless otherwise specified.
1)
With 3 rows and 2 columns:
int[][] a =
CheckShow answer
2)
With 2 rows and 3 columns:
int[][] a =
CheckShow answer
3)
With 2 rows and 2 columns, containing 1 when the row and column index are the same:
int[][] a =