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 ?

Answers were Sorted based on User's Feedback



What is the use join() in Threads ?..

Answer / harish

It waits for the Parent Thread process to be completed.
Even though, Child process is completed. It waits for the
Parent Thread.

Is This Answer Correct ?    8 Yes 3 No

What is the use join() in Threads ?..

Answer / madan

if we want to finish main thread last i.e to ensure all
child threads terminate prior to the main thread

Is This Answer Correct ?    6 Yes 1 No

What is the use join() in Threads ?..

Answer / 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

What is the use join() in Threads ?..

Answer / venkat

Acoording to join the two Threads for some iterations.

Is This Answer Correct ?    0 Yes 9 No

What is the use join() in Threads ?..

Answer / padmaja

waits for specified number of milliseconds for thread to die

Is This Answer Correct ?    0 Yes 10 No

Post New Answer

More Core Java Interview Questions

How many types of operators are there?

0 Answers  


Why java is not 100% object-oriented?

1 Answers  


What are the OOPS concepts in Java ?

4 Answers   Satyam,


What is t type java?

0 Answers  


What type of variable is gender?

0 Answers  


What is the need to implement Serializable interface (with no methods) for objects which are to be serialized ? We can write our own functionality which writes objects to streams then why we need to implement and tell JVM that which objects can be serialized.

6 Answers   iFlex, Sapient,


What is the difference between jdk and jre?

0 Answers  


What are the types of casting?

0 Answers  


What is parameter tag and what is its use?

1 Answers  


What is the purpose of using bufferedinputstream and bufferedoutputstream classes?

0 Answers  


when we have to use final class in java?

2 Answers  


Where is core java used?

0 Answers  


Categories