Unity3d小遊戲:

從命令列中傳入參數

Given the code snippet from a compiled Java source file:
public class q139 {

 public static void main(String[] args) 
 {
  String arg1=args[1];
  String arg2=args[2];
  String arg3=args[3];
  System.out.println("Arg is"+arg3);
 }

}
which command-line arguments should you pass to the program to obtain the following output? 
A java q139  1322 
B java q139 222 
C java q139   1 2234 
D java q139 0123 

這題其實我也不太清楚,但根據網路上的資料這題考的是<<從命令列中傳入參數>>,程式碼中的args[3]是陣列中第四個位置,因此要輸出2的話第四筆資料必須為2

留言