请阅读下面的程序public class Test {public static void main(String[] args) {int a[] = {2,0,4,1,8,3,5};int temp;for (int i = 0; i < a.length - 1; i++) {for (int j = a.length - 1; j > i; j--) {if (a[j] < a[j - 1]) {temp = a[j];a[j] = a[j - 1];a[j - 1] = temp;}}}for (Integer i : a) {System.out.println(i);}}}下列选项中,哪一个是程序的运行结果:
A. 8,5,4,3,2,1,0
B. 5,3,8,1,4,0,2
C. 2,0,4,1,8,3,5
D. 0,1,2,3,4,5,8
请阅读下面的程序public class Test {public static void main(String[] args) {int m = 37;int n = 13;while (m != n) {while (m > n) {m -= n;}while (m < n) {n -= m;}}System.out.println("m=" + m);}}下列选项中,哪一个是正确的运行结果:
A. m=37
B. m=13
C. m=1
D. m=2