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 entry set in java?
What is a wrapper method?
What is use of arraylist in java?
What are the advantages of compiled language?
Define how can we find the actual size of an object on the heap?
What is style and indentation?
Can we convert list to set in java?
Is java based on c?
Write a code to show a static variable?
Why string is not thread safe?
What is a stringbuffer?
What is thread life cycle in java?
What is double data type?
What is bifunction in java?
what is object slice?