Mohan's JavaBook
Java Interview Questions
ContactUs :
Please send your Questions & Answers or Feedback to "mohan@javabook.org"
What is the difference between yielding and sleeping?
When a task invokes its yield() method, it returns to the ready state. When a task invokes its sleep() method, it returns to the waiting state.
Newer Post
Older Post
Home