What is use of yield() method?

When yield() method is called on running thread, that thread will give the chance to other threads which are in ready to run state with the highest priority than the running thread.

0 comments :

Post a Comment