// This program contains several examples we examined to explore arrays. import java.util.*; public class ArrayMystery { public static void main(String[] args) { // this is an example of a good practice problem for arrays mystery(); } // practice problem: what is in the array after the loop? public static void mystery() { int[] a = {1, 7, 5, 6, 4, 14, 11}; for (int i = 0; i < a.length - 1; i++) { if (a[i] > a[i + 1]) { a[i + 1] = a[i + 1] * 2; } // what is the array here? } // what is the array here? } }