what is the Yield() method used in threads?

Answer Posted / manikandan [ gtec,vellore ]

after invoking yeild() method it enters into a ready state.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is character in data type?

553


Explain super keyword in java.

586


Is it possible to override private or static method in java?

548


Can we overload run() method in java?

599


Which is faster set or list in java?

533






Explain aggregation in java?

549


What is the use of inner class?

551


What is a boolean used for?

592


If a class is declared without any access modifiers, where can the class be accessed?

601


Which collection is thread safe in java?

511


Why is stringbuffer thread safe?

570


When is the finalize() called? What is the purpose of finalization?

586


What are autoboxing and unboxing? When does it occur?

536


What is literal example?

566


What is a protected class in java?

544