public class Storage { double data[][] = new double[300][300]; void setData (double[][] data) { this.data = data; } double[][] getData () { return data; } }