Prev Next

Java / Java ThreadLocal

Explain InheritableThreadLocal class.

The java.lang.InheritableThreadLocal class, a subclass of ThreadLocal enables inheritance of values from parent thread to all the child threads. The child thread gets the initial values for all inheritable thread-local variables for which the parent thread has values.

More Related questions...

Show more question and Answers...


Comments & Discussions