Jasper Reports Developer Question:
Download Questions PDF

Explain the difference between yielding and sleeping in Java Programming?

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?