Java Concurrency Interview Questions and Answers
Question: What is the purpose of the ThreadLocal class in Java?Answer: ThreadLocal provides thread-local variables, allowing each thread to have its own instance of a variable. |
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: