If the java compiler run time stops your program is there any way to extend it Example: while(1<10){System.out.println(Hi);} | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If the java compiler run time stops your program is there any way to extend it Example: while(1<10){System.out.println(Hi);}

the out put would be Hi multiple times then error time limit reached or something like that.

31st Jul 2018, 5:32 PM
Unknown user
Unknown user - avatar
1 Answer
+ 4
SoloLearn servers stops your program after around 5 seconds elasped time (1/2 second CPU time.) There is nothing you can do to change it. Running elsewhere such as on your PC or other online compilers is your only option.
31st Jul 2018, 5:48 PM
John Wells
John Wells - avatar