Note: (Restricted functionality due to obvious reasons!)

For Mobile-Ease ⇓

Minimal Code ( Raw-View ) :
class Thread04 { public static void main(String zee[]) { T1 obj1 = new T1(); Thread obj2 = new Thread(new T2()); obj1.start(); try { if(obj1.isAlive()) { obj1.join(); } } catch(Exception e) { System.out.println(e); } obj2.start(); } }