东东车 2010-03-01 13:12
浏览 187
已采纳

这句话怎样理解准确点?

What does the zeroth element of the string array passed to the public static void main method contain?


A. The name of the program
B. The number of arguments
C. The first argument if one is present


题意是否可以理解为:将一个零个元素的的String数组传递给public static void main 方法会怎样?

那选项应该怎样理解呢?

谢谢指点 ...

 

  • 写回答

2条回答 默认 最新

  • 拽拽的初行者 2010-03-01 13:19
    关注

    准确点:(掉了“方法”2字)

    传递给public static void main方法的string数组的第0号元素,包含什么?

    也就是
    public static void main(String[] agrs)

    args[0]包含的是什么内容。

    答案是C

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?