• +91 9723535972
  • info@interviewmaterial.com

Java Interview Questions and Answers

Question - What is the difference between yielding and sleeping?

Answer - 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.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners