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 |
Can we use string in the switch case?
Why java is not 100% object-oriented?
What is an argument in java?
How many types of keywords are there?
Can we define a package statement after the import statement in java?
What about main() method in java ?
Why is Java a platform independent language?
Write a program to print fibonacci series
Realized?
When parseint method can be used?
Why hashcode is used in java?
How do you break a loop?