+ 2

How to give a input value at a runtime in java program????

https://code.sololearn.com/c9TZNEZjvHXG/?ref=app

18th Nov 2017, 6:39 AM
ARAVINDAN S
ARAVINDAN S - avatar
4 Answers
+ 6
Will not work in Sololearn, by the way, as you have to provide all the input the program might required, beforehand, right after hitting "RUN ▶"
18th Nov 2017, 7:26 AM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 1
use a constructor
18th Nov 2017, 6:56 AM
Gao Xiangshuai
Gao Xiangshuai - avatar
+ 1
oh.thanks for your help
18th Nov 2017, 7:43 AM
ARAVINDAN S
ARAVINDAN S - avatar
+ 1
Don't know
23rd Jan 2019, 10:10 AM
Velmurugan M