collection of interview question , preparations
Tuesday, November 29, 2011
What is the difference between yielding and sleeping?
When a task invokes its yield() method, it returns to the ready state. When a task invoke sits sleep() method, it returns to the waiting state.
Category:Java Interview Questions
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment