How can I pass command line arguments to a program via Netbeans?

前端 未结 3 1790
旧时难觅i
旧时难觅i 2021-01-26 13:02

I want to use my args array.

I mean this array:

public static void main(String[] args)

Where can I run something like

3条回答
  •  礼貌的吻别
    2021-01-26 13:52

    Go to the project properties (either File -> Project properties or richt click on the project in he projects list on the left), select "Run" and there you can set it.

提交回复
热议问题