+ 3

Why Thread.sleep() is not supported?

Can You, codeplay team, support a Thread.sleep(int) in java? It could bring some attraction for that language here as attention of ppl here is focused on graphic experience. We could make provide movement in text outputs.

2nd Apr 2017, 10:28 AM
Michał Bujakowski
Michał Bujakowski - avatar
2 Réponses
+ 9
Unfortunately, this is one of the limitations of Code Playground as an online compiler. The console displays only program final output. You can still contact SoloLearn using their support email to suggest this, although chances are low that Code Playground would be overhauled with a major upgrade anytime soon. info@sololearn.com
2nd Apr 2017, 10:39 AM
Hatsy Rei
Hatsy Rei - avatar
+ 9
There is a time limit when running code at the playground. Thread.sleep() would increase the risk of exceeding the time limit.
2nd Apr 2017, 11:16 AM
Tashi N
Tashi N - avatar