+1 vote
in JAVA by
Is ++ operator is thread-safe in Java?

1 Answer

0 votes
by

 No it's not a thread safe operator because its involve multiple instructions like reading a value, incriminating it and storing it back into memory which can be overlapped between multiple threads.

...