+ 2
How to read the inputs from the command line?
Let's say I have a java file called sum.java And it takes three inputs. I am using scanner for these inputs. So I wanna run it from the command line using: > java sum 5 4 2 Another way without waiting for the scanner to ask for them.
2 Respuestas
+ 2
Thank you so much Martin Taylor the link you sent was super helpful ^^