What happens when we invoke a thread?s interrupt method
while it is in sleeping or waiting condition?
Answer / meeti
void interrupt()
This method interrupts the thread on which it is invoked. In
the Waiting-for-notification, Sleeping, or
Blocked-for-join-completion states, the thread will receive
an InterruptedException.
| Is This Answer Correct ? | 1 Yes | 0 No |
Is the infobus client side only?
What are synchronized methods and synchronized statements?
what is the Scope of Final Keyword in Java?
Should synchronization primitives be used on bean methods?
What is waiting state? In what ways a thread can enter into waiting state?
On a computer that having single CPU, how multithreading concept can be achieved?
What value does read() return when it has reached the end of a file?
What is the diffrence between a local-tx-datasource and a xa-datasource?
What is the difference between the font and fontmetrics classes?
What is source and listener?
Difference between sleep and suspend?
Which container method is used to cause a container to be laid out and redisplayed?