Here is the question
![1.png](./download/file.php?id=300&sid=5974b7a637265d2456a3e29d20b58355)
- 1.png (27.99 KiB) Viewed 18100 times
And here is list of answers
![2.png](./download/file.php?id=299&sid=5974b7a637265d2456a3e29d20b58355)
- 2.png (14.35 KiB) Viewed 18100 times
I think the answer a bit confusing. The reason is that jvm won't guarantee thread order execution. And in some case second thread can run first, print a,b,c, and only after this first thread would run and remove a and b. So there is probability that sometimes all three string would be printed.