I\'m new to java.
I\'m little bit confused between Threadsafe and synchronized.
Thread safe means that a method or class instance can be used by multiple threads at the same tim
Thread safety is a desired behavior of the program, where the synchronized block helps you achieve that behavior. There are other methods of obtaining Thread safety e.g immutable class/objects. Hope this helps.