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 |
diff between abstract methods and interfaces with programing (code) example?
What is class forname?
What is an Iterator interface?
What does the exclamation mark mean in java?
What is more advisable to create a thread, by implementing a Runnable interface or by extending Thread class?
How many bytes is a url?
write java code to print second max number in the array
Is java a prime method?
Why is whitespace important?
What are class types in java?
Can we convert integer to string in java?
Can singleton class be serialized?