Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


What happens when we invoke a thread?s interrupt method
while it is in sleeping or waiting condition?



What happens when we invoke a thread?s interrupt method while it is in sleeping or waiting conditi..

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

Post New Answer

More Advanced Java Interview Questions

Dear freinds... I want to know how to write self mapping for a table using hibernate?

1 Answers   Cap Gemini,


What is the difference between the font and fontmetrics classes?

0 Answers  


What are the ways to define classes that can be run as threads?

1 Answers   KPIT,


What are different types of controls in AWT?

11 Answers   IBM,


What is synchronization?

6 Answers   Verizon,






What’s jboss jbpm?

0 Answers  


a US company has filed my H1B visa ,, and i got selected in random number process.I wanna ask Could they ask regarding my languages(java,c++) or there will b just general questions?? And wat kind of questions will they ask in embassy interview??

2 Answers  


What is DTD?

3 Answers   Wipro,


whats is mean by filter?

1 Answers   SolutionNET,


How to determine applet?s height and width?

1 Answers  


Is infobus easy to use?

0 Answers  


Have you used threads in Servelet?

0 Answers   Satyam,






Categories