Implementing the join () Example program: Class thread 1 extends thread { Int sum; Public void run () { System. Out. Prinln(“ beginning of run of thread 1 “); For( int i=0; i< 37; i++) { Sum = sum +i; System. Out. Prinln(“ run of thread1 : “ +i); } } } Class thread 2…