are arrays thread safe java?
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.