What is use of join() method in java thread?

When you call join() on the running thread then that thread will join at the end of other thread execution and waits until all other threads finishes the execution.

0 comments :

Post a Comment