int[][] array = { {11, 22, 33}; {44, 55, 66}; {77, 88, 99} }; private void insert(int[][] num){ int inNum = 5; int a = (int) (Math.random()*3+1); for(int i = 0; i < num.length; i++){ for(int j = 0; j < num[i].length; j++){ num[a] = ......... [b]<=not sure[/b] } } } [instance].insert(array);

so that a possible out could be like:

11,

**5**, 33

**5**, 55, 66

77, 88,

**5**