The join() is used to hold the execution of the main thread for the time our thread on which we are calling join() method is completed. A simple example of this join() method is as below,
No comments:
Post a Comment