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 main purpose of java?
What are singleton services?
What is illegal identifier in java?
Can a class with private constructor be extended?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
What are constants and how to create constants in java?
Explain notifyall() method of object class ?
What are examples of modifiers?
Why webdriver is an interface?
Can we declare a class as static?
Is nan false?
What is the size of integer?
In which language java is written?
What are the methods of object class ?
Explain restrictions on using enum?