日期:2014-05-20 浏览次数:20801 次
double [][] d = new double[3][]; d[0] = new double[]{2.10000, 2.20000}; d[1] = new double[]{1.05000, 3.52555, 2.58845}; d[2] = new double[]{1.25555}; for (int i=0; i<d.length; i++) { for (int j=d[i].length; j++) { System.out.printf("%.5f ", d[i][j]); } System.out.println(); }