What is Yield() method when we r using this ? tell exactly
Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between post and put?
Explain about data types?
How do you square a number in java?
What is an arraylist in java?
Can interface be private in java?
Is special character in java?
What does math floor () do?
What does system.gc() and runtime.gc() methods do?
What is a singleton factory?
List implementations of list interface?
Where to store local variables?
Can we overload the methods by making them static?
Explain the Propertie sof class?
What was java originally called?
Explain differences between collection api and stream api?