Thread join Example in Java

In Java, execution of the program starts from main() method. From which all remaining threads are created, these remaining threads