0

Input in java.

In bluej, if "public static void main (int a)" is used,input is taken. But why doesn't the same happen in sololearn?

19th Sep 2019, 2:43 AM
Greninja
Greninja - avatar
1 Answer
0
SL. execute code on server side, some java features are not supports but you can simulate this public class Program { public static void main(String[] args) { main2(new String[]{"1","2","3"}); } public static void main2(String[] args) { // my code } }
19th Sep 2019, 5:31 AM
zemiak