Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

How notify() method is different from notifyAll() method?

Pragya Keshap answered on February 4, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • notify jquery
  • notify.js
  • Explain wait(), notify() and notifyAll() methods of object class ?
  • Explain why wait(), notify() and notifyAll() methods are in Object class rather than in thread class?
  • Difference between notify() and notifyAll() call?

  • How notify() method is different from notifyAll() method?

    0

    In Java, notify() method is used to unblock a specific thread that is

    in waiting stated. Whereas, notifyAll() method is used to unblock

    all the threads that are in waiting state

    https://www.tutorialspoint.com/difference-between-notify-and-notifyall-in-java#:~:text=Sr.,No.&text=In%20case%20of%20multiThreading%20notify,instead%20of%20single%20one%20thread.

    Popularity 1/10 Helpfulness 1/10 Language java
    Source: Grepper
    Tags: java
    Link to this answer
    Share Copy Link
    Contributed on Feb 04 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.