top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How does thread communicate with each other in java?

0 votes
409 views
How does thread communicate with each other in java?
posted Feb 12, 2018 by Gn Guruswamy

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

When threads share resources, communication between Threads is important to coordinate their efforts. Object class wait(), notify() and notifyAll() methods allows threads to communicate about the lock status of a resource.

answer Feb 13, 2018 by Jon Deck
...