0
Multiple input in java
how to get multiple inputs in java like through scanner and through string input=JOptionPane.showInputDialog kindly answer im confuses about that
1 Respuesta
+ 5
I guess you're confused because the code playground has it's own way to handle multiple inputs?
You have to pass all inputs in that one prompt that appears on the start of the execution. Separate multiple inputs by a new line (first line = first input, second line = second input and so on).