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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

To what value is a variable of the string type automatically initialized?

1126


What class is used to create Server side object ?

2224


Have you used threads in Servelet?

2503


How are the elements of a borderlayout organized?

1103


What is a modular application? What does module-relative mean?

1042


Why doesn’t the focus feature on the tag work in every circumstance?

1090


How to implement RMI in Java?

2863


What is aop(assepct oriented programing)?

1038


What method is invoked to cause an object to begin executing as a separate thread?

1029


What are the different methods of identifying an object?

1053


When a thread blocks on i/o, what state does it enter?

1087


What is JTS?

2359


What is meant by method chaining?

1133


when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??

1526


When a thread blocks on i/o?

1082