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
What is ioc concept?
What is a modular application?
What is the difference between a menuitem and a checkboxmenuitem?
What is the purpose of the wait() method?
A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions
what are the activation groupworks?
How to determine SGA site?
What state does a thread enter when it terminates its processing?
Is there a guarantee of uniqueness for entity beans?
What is glasgow?
If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?
What is a clone?
Name the eight primitive java types.
Why doesn’t the focus feature on the tag work in every circumstance?
What is abstract schema?