what is the Yield() method used in threads?
Answer Posted / sasirekha
yield method will allow other thread to execute.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Can we use synchronized block for primitives?
What is locale?
What is the final keyword in java?
Discuss different types of errors that generally occur while programming.
What is bytecode verifier?
Which is better stringbuffer or stringbuilder?
Difference between predicate, supplier and consumer ?
What is a dynamic array java?
What is constructor and virtual function? Can we call a virtual function in a constructor?
Where import statement is used in a java program?
What are the different types of methodologies?
What is the integer of 16?
Why multiple inheritance is not supported by java?
What is reflexive association?
what is the difference between yielding and sleeping? : Java thread