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

How to pass arraylist to stored procedure in java?

1159


What is the simpletimezone class in java programming?

1126


If system.exit (0); is written at the end of the try block, will the finally block still execute?

1102


What is outofmemoryerror in java?

1022


Can we increase size of array?

1023


What do you understand by looping in java? Explain the different types of loops.

1046


Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?

984


How do you compare values in java?

1028


What does || mean in vectors?

929


What is anagram in java?

924


What is the difference between access specifiers and access modifiers in java?

1166


What does java stand for?

1114


How do you escape sequences in java?

1069


What is __ init __ functions?

1116


Why do we need hashset in java?

1033