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
To what value is a variable of the string type automatically initialized?
What class is used to create Server side object ?
Have you used threads in Servelet?
How are the elements of a borderlayout organized?
What is a modular application? What does module-relative mean?
Why doesn’t the focus feature on the tag work in every circumstance?
How to implement RMI in Java?
What is aop(assepct oriented programing)?
What method is invoked to cause an object to begin executing as a separate thread?
What are the different methods of identifying an object?
When a thread blocks on i/o, what state does it enter?
What is JTS?
What is meant by method chaining?
when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??
When a thread blocks on i/o?