public class DoubleDimensionalArray {
public static void main(String[] args) {
int[][] nums={{1,2,3,4},{4,5,6,7},{7,8,9,10}};
for(int i=0;i<nums.length;i++)
{
for(int j=0;j<nums.length;j++)
{
System.out.print(nums[i][j]);
}
System.out.println();
}
}
}
Developer_Zuck
Developer_Zuck
慕的地6079101
zjxjwxk
Developer_Zuck
相关分类