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

For an example, if we have some variable in run method, and we created one or more threads. Does all threads will share the same variable or a copy of variable is created for each thread??

1 Answers  


Why are some of the class and element names counter-intuitive?

0 Answers  


what is the Remote Stub?

1 Answers  


What is the purpose of the wait() method?

0 Answers  


difference between applicationserver and webserver

4 Answers   SolutionNET,


Difference between JRE and JVM?

3 Answers   HeadStrong, Infotech,


What is the priority of Garbage collector thread?

3 Answers  


What is the applet sandbox?

1 Answers  


Which textcomponent method is used to set a textcomponent to the read-only state?

0 Answers  


Explain Object Serialization and it can be used?

3 Answers   Infosys,


What are the different types of exception?

0 Answers  


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

0 Answers  


Categories