How to pass multiple argument for main class in NETBEANS ?

Step 1: Right Click you project and select [Set Configuration] -> [Customize]


Step 2: Set your argument with space (in example below, we set args[0] as temp and args[1] as 1)


Step 3: Simply run your project as you did before.

No comments:

Post a Comment