Monday, December 21, 2009

When A Synchronized Class Isn’t Threadsafe

Every java programmer has heard that ArrayList is not synchronized and Vector is synchronized. In fact a class which is Synchronized is always thread safe. I think it is wrong. While searching through Net, I came to read this article, read it, it is really worth to see:-

No comments:

Post a Comment