Post

🌒 Eclipse IDE
🌒 Eclipse IDE@EclipseJavaIDE·
A marked lower reply rate to this puzzle shows that people really "love" threads ;) No exception here and "Hi Hi" is the output. Congrats to those who got it!
English
2
0
15
0
rk⚡fg 
rk⚡fg @rkfg_me·
@EclipseJavaIDE Even you gave the wrong answer! It should be "Hi Hi " (notice the space in the end).
English
0
0
3
0
Sergej Berišaj
Sergej Berišaj@SergejBerisaj·
@EclipseJavaIDE Well, not necessarily. Starting the thread is the last line in the main() function, which means that the process may terminate before the thread starts. So, my guess would be, that both "Hi" and "Hi Hi" are valid answers. (I hate threads.)
English
0
0
1
0
共有