int n = array.length; for (int i = 0; i < n / 2; i++) { int j = n - 1 - i; int temp = array[i]; array[i] = array[j]; array[j] = temp; } 从这里都看不懂了😱😱😱