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 |
where lives in jvm
What is the difference between interpreter and compiling ?
What happens when a thrown exception is not handled?
Explain 5 features introduced in jdk 1.7?
what difference between throw and throws in exception handling.
what is difference between business delegate and data access object(dao)? in java?
Tell us something about set interface.
Can classes declared using the abstract keyword cab be instantiated?
What is the ResourceBundle?
2 Answers Elementus Technologies,
Difference between start() and run() method of thread class?
How are java objects passed to a method and what are native methods?
What is static and final keyword in java?