What is Yield() method when we r using this ? tell exactly
Answer Posted / 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 |
Post New Answer View All Answers
What are annotations in java?
What is the difference between an object-oriented programming language and object-based programming language?
Can I learn java in 3 months?
Are generics important java?
What's the default access specifier for variables and methods of a class?
What are the two categories of data types in the java programming language?
Why java is secure? Explain.
What is abstraction in java?
What is field name?
What interface is extended by awt event listeners?
What are void methods?
What is a package in java? List down various advantages of packages.
Can java program run without jre?
How to restrict a member of a class from inheriting by its sub classes?
What is abstract class? Explain