Header Ads

  • Breaking Now

    Explain wait(),notify(), and notifyAll() methods?

    These methods are used for thread intercommunication and usually called within synchronised block or methods.A thread with lock on the object when calls wait() then it goes into wait state till some other thread with lock on this object invokes notify() method or the notifyAll() method.

    Post Top Ad

    Post Bottom Ad