题型:单项选择题 下面程序段的输出结果是______。 public class Test public static void main(String args[]) int[] a=new int[11]; int[] p=new int[4]; int k=5; for(int i=1; i<=10; i++) a[i]=i; for(int i=1; i<=3; i<++) p[i]=a[i*i]; for(int i=1; i<=3; j++) k=k+p[i]*2; System.out.println(k); A) 37 B) 31 C) 33 D) 35 查看答案