下面的程序段执行后,a[2]的值为( ) int[] a=new int[] { 7, 4, 8, 3, 6 };int n = 5;for(int i=0; ia[j+1]) { int temp=a[j]; a[j]=a[j+1]; a[j+1]=temp; } }}选项: A:7; B:4; C:3; D:6 下面 程序 执行 发布时间:2024-05-19 10:52:50