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 |
How to run a JAR file through command prompt?
What is java virtual machine and how it is considered in context of java’s platform independent feature?
Difference between comparator and comparable in java?
Can we create an object of static class in java?
What is variable argument in java?
What is better- service oriented or batch oriented solutions?
Is a method a procedure?
What are computer functions?
What is the purpose of static methods and static variables?
What is Connection pooling? Explain Pros and Cons?
What is foreach loop in java?
What is the generic class?