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

Can I use multiple html form elements with the same name?

0 Answers  


What invokes a thread?s run() method?

2 Answers  


What is the immediate superclass of the applet class?

0 Answers  


Where we can write Rmi registry in the code, without having to write it at the command prompt?

0 Answers  


What are the services in RMI ?

0 Answers  


What is the initial state, When a thread is created and started?

3 Answers  


What is a sessionfactory? Is it a thread-safe object?

0 Answers  


Will it be called overriding if I do not change the parameters or return type, instead throw a different exception in the method signature.

4 Answers   HeadStrong,


What is the use of Class.forName

20 Answers   HCL,


What are local interfaces? Describe.

0 Answers  


How do you iterate in Hashmap?

1 Answers   HCL, Infotech,


which book is better for jdbc ,servlets and jsp

0 Answers   TCS,


Categories