class HelloWorldApp public static void main String args int 34 12 31 9

1
2
3
4
5
6
7
8
9
class HelloWorldApp {
public static void main(String[] args) {
int a[][]={{34,4,5,0,12,31,2},{3,4,9},{9},{5,4,90},{124,231,28,88}};
for(int i=0;i<a.length;i++)
for(int j=0;j<a[i].length;j++)
if (a[i][j]<7)
System.out.println("a["+i+"]["+j+"]="+a[i][j]);
}
}