Java Arrays.fill()

How to fill a multidimensional array?

int[][] array = new int[4][6]; 
Arrays.fill(array, 0);

I tried it, but it doesn't work.

20
задан Argote 9 March 2011 в 22:07
поделиться