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 change the priority of thread or how to set the priority of thread?

1030


Are arrays primitive data types?

1164


Write a program to reverse array in place?

1053


What is use of super keyword?

950


Why put method is used?

997


Why call by value prevents parameter value change?

1059


Is assembly language a low level language?

909


How do you clear a method in java?

995


What are user defined exceptions?

1025


What’s the difference between the methods sleep() and wait()?

1001


What two classes are used to read data only?

1082


Can we use string in switch case in java?

1042


Can we compare two strings in java?

1010


What are the differences between heap and stack memory?

1064


What is empty string literal in java?

1045