Closed spuder closed 12 years ago
Create a new object in the executable class (the file with setup) like this
row0100 = new RowObject(1, 0); row0100.displayOneRow(1,0);
If you have 0 in the second parameter it gives array index out of bounds exception
If you have a non 0 it displays properly
row0100 = new RowObject(1, 1); row0100.displayOneRow(1,1);
Create a new object in the executable class (the file with setup) like this
row0100 = new RowObject(1, 0); row0100.displayOneRow(1,0);
If you have 0 in the second parameter it gives array index out of bounds exception
If you have a non 0 it displays properly
row0100 = new RowObject(1, 1); row0100.displayOneRow(1,1);