What is ThreadLocal in Java with Example

ThreadLocal is another way to obtain thread safety in Java. you can share expensive object as ThreadLocal to get benefit of multi-threading with reduchttp://javarevisited.blogspot.sg/2012/05/how-to-use-threadlocal-in-java-benefits.html