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 colon_pkg_prefixes and what is its use?
What is aop(assepct oriented programing)?
Can I import same package/class twice? Will the jvm load the package twice at runtime?
What is the purpose of the wait(), notify(), and notifyall() methods?
When a thread blocks on i/o?
What is a class loader? What are the different class loaders used by jvm?
What is a modular application?
Is the infobus client side only?
What is the difference between long.class and long.type?
Define aop(assepct oriented programing)?
How can I scroll through list of pages like the search results in google?
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?
whats is mean by tiles in struts
How primary key is implemented in Oracle?
Difference between hashmap and hashtable?