logo - 刷刷题
下载APP
【简答题】

写出下列程序段的运行结果 public class Test{ public static void main(String[]args){ int x; int a[]={0,0,0,0,0,0}; calculate(a,a[5]); System.out.println("the value of a[0] is "+a[0]); System.out.println("the value is a[5] is "+a[5]);} static int calculate(int x[],int y){ for(int i=1;i

举报
题目标签:程序段运行
参考答案:
参考解析:
.
刷刷题刷刷变学霸
举一反三