class A implements Runnable {
public void run() {System.out.print(Thread.currentThread().getName());}
}
class B implements Runnable {
public void run() {
new A().run();
new
Thread(new A(),"T2").run();
new Thread(new A(),"T3").start();
}}
class C {
public static void main (
String[] args) {
new Thread(new B(),"T1").start();
}}
answer is:T1T1T3
can anyone explain how it works