The wait() and notify() methods
The wait(), and notify() methods and their overloaded versions are used for communication between threads—the lightweight processes for concurrent processing. Programmers do not re-implement these methods. They just use them to increase the throughput and performance of their applications. We will go into more details about the wait() and notify() methods in Chapter 11, JVM Processes and Garbage Collection.
Now, congratulations are in order. You have stepped on the summit of Java basics complexity and will now continue walking horizontally, adding details and practicing the acquired knowledge. You have constructed in your head a framework of Java knowledge while reading the first two chapters. Don't feel frustrated ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access