import Problems.LockWaitNotify.Producer; public class Main { public static void main(String[] args) throws InterruptedException { // if we would not have joined it. This SOUt would have runn . // but since we have joinred. This wont run. until t1 and t2 completes. } }