My Java Quiz

The ultimate place to learn Java!

Question #58: What gets printed by code below?

int sum = 0;
int[][] table = {{3,4},{5,6,7}};
for(int x[] : table){
  for(int y : x){
     sum += y;
  }
}
System.out.println(sum);