Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок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?
1 ответ
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
}
}