package aaa; public class aaa { public static void main(String args[]) { int a[]={1,2,3,4}; for(int i=0;i<4;i++) System.out.print(a[i]); System.out.println(); int b[][]=new int[3][3]; for(int i=0;i<3;i++) { for(int j=0;j<3;j++) { b[i][j]=i+j; System.out.print(b[i][j]+" "); } System.out.println(); } } }