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 local interfaces? Describe.
what is meant by JRMP?
What happens when a thread cannot acquire a lock on an object?
Explain the difference between object state and behavior?
What class is used to create Server side object ?
What does module-relative mean?
What is prototype?
Why is string immutable in java?
What restrictions are placed on the values of each case of a switch statement?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
Define the remote object implementation?
Why use a datasource when you can directly specify a connection details?
how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.
How many times may an objects finalize() method be invoked by the garbage collector?
What is the relation between the infobus and rmi?