True or False, the following code would print out every element in a 2D int array called values

for (int[] row: values)
{
    for (int value: row)
    {
        System.out.println(value);
    }
}

True - but no values could be changed this way.
  • True - but the values could be accidentally changed inside the inner loop if you're not careful.
  • False - only counter controlled for loops can be used with 2D arrays.
  • False - only while loops can be used with 2D arrays.

There are no hints for this question