exclude the name of the class that is being involved
不包括类名的话,答案应该是B吧.

解决方案 »

  1.   

    C和D当args的长度没有达到count的值时会报
    ArrayIndexOutOfBoundException
      

  2.   

    args数组的长度是在你编译时命令输入后就是固定的了,
    比如JAVAC 1234。JAVA 1 2 3,数组长度就是3了,C和D都会发生数组越界错误,所以是不对的。
      

  3.   

    我觉得答案是A。
    数组长度就是个数。什么都不输入就是0。C,D会越界,应该:
    int count=0;
    try {
      while(args[count] != null)
      count++;
    }
    catch (Exception e) { 
    }
      

  4.   

    exclude the name of the class that is being involved
    不包括类名的话,答案应该是B吧.
    同意。
      

  5.   

    本来就是不包括类名啊!
    是选a.
    args[ 0 ]是第一个参数。
    ……
    args[ args.length - 1 ]是最后一个参数。
      

  6.   

    答案应该是A
    如果没有参数,相当于数组长度为0,则args[0]就会出错了 args[0]不是数组的第一个么? :)
      

  7.   

    认为是a。
    c d如果在只声明数组而没有给出具体
    数组元素值的时候,String类型的都默认赋值为null。这是while中断。而实际
    数组元素个数不是0。
    另外。请教:
    exclude the name of the class that is being involved
    不包括类名
    的具体含义。谢谢!~