Jasper Reports Developer Question:

Download Job Interview Questions and Answers PDF

Explain the difference between yielding and sleeping in Java Programming?

Jasper Reports Developer Interview Question
Jasper Reports Developer Interview Question

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.

Download Jasper Reports Developer Interview Questions And Answers PDF

Previous QuestionNext Question
What modifiers may be used with inner class that is a member of an outer class in Java Programming?Define transient variable?