ThreadLocal

ThreadLocal What is ThreadLocal? There are different scope of a variable in java. 1. Local Scope : This scope includes the variable declared inside the methods. 2. Instance Scope: This scope is also known as instance variable. This is created one per instance. 3. Class Scope: The variable is created one per class. They are …Read More