How do you test output with args[0]? I get an ArrayOutOfBounds Exception and cannot see my data output
How do you test output with args[0]? I get an ArrayOutOfBounds Exception and cannot see my data output
Resolved
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Roman
2 October 2019, 07:27solution
In Intellij IDEA : Run -> Edit configurations... -> Program arguments
for example:
in this case
args[0] = "test1"
args[1] = "test test2"
args[2] = "test3"
... +2
Brandon Horvatic
2 October 2019, 14:26
Thank you!!!
0