Java / Java Multithreading part II
Can I use "synchronized" keyword on a String object?
String is not a very good candidate to be used with synchronized keyword. String objects are stored in a string pool and we don't want to lock a string that might be getting used by another piece of code.
More Related questions...