What is the use of `ThreadLocal` in Java?
Correct answer
To isolate variable values per thread
Explanation
`ThreadLocal` provides each thread its own isolated variable instance.
Update: Admin added a tag on this question
Topics
By Admin · · 29 views