二维数组的总长度 / 每行的长度
public static void main(String[] args){ int[][] a={{2,3},{2,4}};int sum=0;for(int i=0;i<a.length; i++){ for (int j=0;j