I hope this is the right board to post this query on.
I am really new to Java and am struggling to differentiate between reading from stid and taking output from command line in putting it into a method input.
Where a command line would give the output of 6 integers, ie: 26, 62, 82, 27, 0, 0
and the opening of a method would be:
int main (int firstNum, int secondNum, int thirdNum, int fourthNum, int fifthNum, int sixthNum)
I would not know how to read the same numbers from stdin in a format such as:
Let alone taking these and inputting them into a method.
I have tried searching for a good introduction for this, yet have failed to find something that explains the difference effectively.
Again, I apologise if this is the wrong board, I only just started learning java as a hobbie this summer and it's all very new to me.