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 |
Is it safe for adding 10,00,000 records/objects to HashMap?, i.e is it safe to add millions of objects to HashMap?
What are the different types of java?
How to make a write-only class in java?
How many return statement are allowed in a function?
What is a parameter in a function?
Difference between overloading and overridding?
Difference between static synchronization vs. Instance synchronization?
what is java
what is use of threads how many ways to create thread
What is a data structure java?
How many bytes is a string in java?
What are the three parts of a lambda expression? What is the type of lambda expression?