【单选题】设有如下程序,其调试结果为: class Q2 { public static void main(String[] args) { int[] seeds = {1,2,3,4,6,8}; int n= seeds.length; for (int i = 0; i < 3; i++) for (int k=0; k< n-1; k++) seeds[k]=seeds[k+1]; for ...
【单选题】设有如下程序,其调试结果为: class Q2 { public static void main(String[] args) { int[] seeds = {1,2,3,4,6,8}; int n= seeds.length; for (int i = 0; i < 3; i++) for (int k=0; k< n-1; k++) seeds[k]=seeds[k+1]; for ...