Eclipse : how we take arguments for main when run

后端 未结 4 1371
臣服心动
臣服心动 2020-11-27 21:25

In Java, for a normal main method :

public static void main(String[] args){
    // code here
}

String[] args is used to take s

4条回答
  •  攒了一身酷
    2020-11-27 22:18

    Right click on program with main method---> Select Runtime Configuration--> There you will see a box for argument on right side.

提交回复
热议问题