The Object class in java contains three final methods that allows threads to communicate about the lock status of a resource. These methods are wait()
, notify()
and notifyAll()
. So today I will look into wait, notify in java program.
SY -> CS -> LA -> SEA
The Object class in java contains three final methods that allows threads to communicate about the lock status of a resource. These methods are wait()
, notify()
and notifyAll()
. So today I will look into wait, notify in java program.