I need to create 2d array with 5 rows and 6 columns in the first row and then the rest is 5 columns
so that would look like this
{ 0 0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0 }
is there any way to do so?
as of now i have only this, it creates 6 rows and 5 columns:
private static JButton[][] b = new JButton[6][5];
updtae: I am using Java for this.