Tag: thread

thread local

Thread Local Java Challenge

The ThreadLocal class is useful to store and read data without colliding with other Threads even if the ThreadLocal instance is the same. Therefore, it’s a useful class to keep in mind whenever you need to manipulate data and avoid thread...

daemon thread

Daemon Thread Java Challenge

When we are working with Threads, it’s important to know when to use a daemon or a non-daemon Thread. Do you know if the main Thread is daemon or not? Do you know what is a daemon Thread? That’s what you will find out by trying out the...

Stand Out as a Java Developer and Get Your Dream Job!

You will get the book by email in a few minutes after registering.