What happens when we invoke a thread?s interrupt method
while it is in sleeping or waiting condition?
Answer Posted / 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 |
Post New Answer View All Answers
Which class is the immediate superclass of the menucomponent class?
What are JTA/JTS and how they used by client?
How is a java object message delivered to a non-java client?
What value does readline() return when it has reached the end of a file?
What must a class do to implement an interface?
Why do I get a duplicate name error when loading a jar file?
What is table mutation and how do you avoid it?
What is the relationship between an event-listener interface and an event-adapter class?
how i secure my site with the https protocol.what are the steps?
When a thread blocks on i/o?
Can I use multiple html form elements with the same name?
What do you mean by Socket Programming?
What is difference between object state and behavior?
Why does the option tag render selected=selected instead of just selected?
What are the difference between RMI and CORBA?