Question: are arrays thread safe java?
Answer: Java memory models consider each array element as a separate variable. You may have thread-unsafe actions on such a variable just like any other variables. The array itself is quite thread safe. You may get incorrect results, or even unsensible results, or exceptions.