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 is the use join() in Threads ?

Answer Posted / a.sreekanth

The join() method of a Thread instance can be used to "join" the start of a thread's execution to the end of another thread's execution so that a thread will not start running until another thread has ended. If join() is called on a Thread instance, the currently running thread will block until the Thread instance has finished executing.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there any case when finally will not be executed?

951


Why is java multithreaded?

989


Is Constructor possible in abstract class in java ?

1067


Can a vector contain heterogenous objects?

1076


Why we override equals() method?

1039


What is a nested class?

1122


What is singleton pattern?

1119


What is the purpose of finalization in java programming?

1028


Why convert an applet to an application?

1104


What are the differences between throw and throws?

1073


What are bind parameters?

1044


What is the size of arraylist in java?

1028


Where is stringbuffer stored?

985


Name few java util classes introduced with java 8 ?

913


Is java based on c?

991