Can an object be called thread safe or not?
1 answer
Completely safe as long as it doesn't extend a thread-independent class.
If an object is stateless, it can be shared safely by multiple threads.
This is why it is recommended to use immutable objects in a multithreaded environment, since their state cannot be changed at the same time.
+4
source to share