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 are the advantages of JTA over JTS?
How many times may an objects finalize() method be invoked by the garbage collector?
Is the infobus client side only?
Can I map more than one table in a cmp?
How task's priority is used in scheduling?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
How can I avoid validating a form before data is entered?
What is the difference between the session.get() method and the session.load() method?
What are the oops concept?
Difference between swing and awt?
Explain what is synchronization?
What are various types of class loaders used by jvm?
What are the services in RMI ?
What is the relationship between local interfaces and container-managed relationships?
What is a class loader? What are the different class loaders used by jvm?