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

Is the infobus client side only?

0 Answers  


What are synchronized methods and synchronized statements?

2 Answers   Adobe,


what is the Scope of Final Keyword in Java?

1 Answers   HCL,


Should synchronization primitives be used on bean methods?

0 Answers  


What is waiting state? In what ways a thread can enter into waiting state?

2 Answers   Wipro,


On a computer that having single CPU, how multithreading concept can be achieved?

1 Answers   Zensar,


What value does read() return when it has reached the end of a file?

0 Answers  


What is the diffrence between a local-tx-datasource and a xa-datasource?

0 Answers  


What is the difference between the font and fontmetrics classes?

0 Answers  


What is source and listener?

1 Answers  


Difference between sleep and suspend?

3 Answers  


Which container method is used to cause a container to be laid out and redisplayed?

0 Answers  


Categories