What happens when we invoke a thread?s interrupt method
while it is in sleeping or waiting condition?
Answer / 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 |
Difference between hashmap and hashtable?
What is TL and its use?
Explain what is orm?
What are the benefits of detached objects?
How many requests can a server fetch at a time?
Describe activation process?
what is the port number of RMI?
What is a class loader? What are the different class loaders used by jvm?
What is the form of storage space in java?
What is the relation between the infobus and rmi?
Explain the difference between object state and behavior?
When a thread blocks on i/o?