Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Which are the different segments of memory?

0 Answers  


Difference between sleep and suspend?

3 Answers  


JMS based on what technology?

1 Answers  


In HashTable I am storing null value..then what is the error it will show

2 Answers   GM General Motors,


what's the main difference between unix os and linux os?

2 Answers   TCS,


Why use POJO when I can use hashmap

0 Answers   Infotech,


Wt is the main difference between Java and Java J2EE and Advanced java?

5 Answers   Wipro,


Can you give me a simple example of using the requiredif validator rule?

0 Answers  


what about static?

1 Answers  


When a thread terminates its processing, it enters into what state?

1 Answers  


what is JTA ?

2 Answers  


how we can implement interface in jsp ?

2 Answers   Google,


Categories