I have created a 2D Array as follows
String names [][] = new String [5][2];
for(int i=0; i<names.length;i++){
System.out.println(names[i][1]);
System.out.println(names[i][0]);
}
And the OutPut:
Jack | 2013
Peter | 2012
Cham | 2011
Jayce | 2013
Robin | 2011
Jax | 2013
I'm required to print values containing 2013
in this array . Please help.