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

2nd May 2018, 5:42 PM
Ali Hyder
Ali Hyder - avatar
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).
2nd May 2018, 7:23 PM
Tashi N
Tashi N - avatar