Setting a value in Thread Local:
//Class A holds the static ThreadLocal variable.
Class A{
public static ThreadLocal myThreadLocal = new T
Multiple threads executing B's someBMethod, will end up updating the SAME A's static ThreadLocal variable myThreadLocal
No they won't. Every thread has its own instance of the contained variable of type X.
thereby beating the very purpose of ThreadLocal variable
No.
Have another look at the Javadoc.