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


Please Help Members By Posting Answers For Below Questions

What are invisible components?.

1675


How we can declare a static variable?

650


What is the length of a string?

518


What are the properties of thread?

497


How do you convert an int to a string in java?

539






How big is a pointer?

546


What is a prefix function.write down a code to compute prefix function.

534


What is the use of java?

526


What is string [] args?

551


What do you mean by Function Overloading in java?

624


Can we use this () and super () in a method?

527


What is native method in java?

561


Name some classes present in java.util.regex package.

601


we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.

1566


What is busy spin, and why should you use it?

586