What is Yield() method when we r using this ? tell exactly
Answers were Sorted based on User's Feedback
Answer / naresh kumar
Yield will be called by Thread.Yield() t0 give other
runnable thread a chance to excute...
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / mounika
It causes to pauses the current executing thread for giving
the chance to the remaining waiting threads of same priority.
if there is no waiting threads are All waiting threads
have low priority then the same thread will continue its
execution.
| Is This Answer Correct ? | 10 Yes | 0 No |
Why do I need to declare the type of a variable in java?
Why is multiple inheritance not supported in java?
What is a nonetype?
How does abstract modifier work?
Can array grow dynamically in java?
What is java literals?
What happens if main method is not static?
Which class is the superclass of all classes?
Difference between local and global transaction ?
What restrictions are placed on method overloading?
Why we go for collections in java?
what is abstract method with example?