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
we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?
What are the different methods of identifying an object?
What is a session? Can you share a session object between different theads?
Do I have to use jsps with my application?
Why use POJO when I can use hashmap
What are the different class loaders used by jvm?
What is the difference between java class and bean?
What are the pros and cons of detached objects?
Difference between new operator and class.forname().newinstance()?
What do you mean by Socket Programming?
What is message driven beam?
whats is mean by tiles in struts
What event results from the clicking of a button?
What is the difference between the font and fontmetrics classes?
which type of objects reference will be given to client?