Java中notify和notifyAll的区别以及应用场景
Differences between notify() and notifyAll()
Notification to number of threads : We can use notify() method to give the notification for only one thread which is waiting for a particular object whereas by the help of notifyAll() methods we can give the no
转载
2021-09-19 20:24:43 ·
400 阅读 ·
0 评论