Browse Today's favorites or All time favorites.
Please Sign In or Register to share and submit your questions.
Java Queries
Complete java interview questions library
Home » Interview Questions » Core Java Interview Questions » What is the difference between yielding and sleeping?
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.
Make a good first impression during an office interview
- important to be punctual and arrive a few minutes early.
- Confirm directions or drive to the location on the previous day to ensure you know where you are going.
- Put your best foot forward. Dress appropriately for the position you are seeking.
Write a comment