Jasper Reports Developer Question:

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.


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?