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

How do weakhashmap works?

593


Explain about the security aspect of java?

576


Can a class be declared as static?

683


What is the original name of java?

544


Write a program to print the pattern given below

499






Explain the concept of hashtables?

620


Is it necessary for the port addresses to be unique? Explain with reason.

577


What are passing parameters?

590


What are accessor methods in java?

559


Explain purpose of sleep() method in java?

621


What is predicate in java?

560


Can we rethrow the same exception from catch handler?

567


Why is a string immutable?

547


What is serial version uid and its importance in java?

600


Write a program to find maximum and minimum number in array?

554