public class My2DListImpl implements My2DList { int[][] data; public My2DListImpl(int sx,int sy) { // one way... data = new int[sx][sy]; // another way... /* data = new int[sx][]; for(int j=0;j