Java Thread Programming (Part 6)
Have you ever wondered what is the purpose of the "wait()", "notify()", "notifyAll()" methods that come with each Java object?

Have you ever wondered what is the purpose of the "wait()", "notify()", "notifyAll()" methods that come with each Java object?
Optional is a mystery box, a wrapping paper: it may not contain value. When we specify that in a signature, we assume the box might be …

When a thread acquires a lock object, no other thread will be able to use it. Once a thread unlocks the lock, other threads acquire it …
We need to be very careful when using the "volatile" keyword, and we should use it only where it’s required, and definitely not everywhere.

Tip: We can only ask the Java thread to execute a piece of code, but we cannot guarantee the execution order of multiple threads!

Let's see an example of where we can use Threads. Let's assume we are building a web server that returns the most used words in a website.
To be able to execute a piece of code requires an execution environment. In Java, a thread is an executing environment.
Learn how using compact strings can help you reclaim 25% of Java heap memory and lower your Cloud bills... very easily.

Let's demystify the concepts behind memory management, taking a deeper look at memory management in some of the modern programming …

I aim to demystify the concepts behind memory management and take a look at memory management in some of the modern programming languages.