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

Write a program to check string is palindrome without using loop?

1092


What is the purpose of format function?

1243


Which collection is thread safe in java?

1040


What is deserialization?

1077


What does yield method of the thread class do?

1086


How can we make copy of a java object?

1222


How many types of design patterns are there?

1170


What is the order of arraylist in java?

1183


What is a static class in java?

1059


what is comparable and comparator interface?

1045


Is string a class?

1100


What is the difference between an argument and a parameter?

1046


What is jit compiler in java?

1186


Define how can we find the actual size of an object on the heap?

1287


How to use arraylist in java netbeans?

1098