I want to start a program in Eclipse with input parameters (max: calculates max of two integers). If I click on run, there is no input prompt, and I get error message:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at BerechnungenSample.main(BerechnungenSample.java:10)
What's the best way to do this?
Btw: Is there a difference in Java between "arguments" and "variables"?
Thanks alot Markus