程序:  class  TestApp{  public static void main(String[] args){  System.out.println(multiply(2,3,4,5));  }  public int multiply(int[] nums){       int result = 1;       for(int x :nums)           result *= x;       return result;   } }  程序运行后的输出是哪项?() 

A .  14 B .  编译错误 C .  120 D .  24

时间:2022-10-03 11:51:00 所属题库:Java认证考试综合练习题库

相似题目