class A implements Runnable
{
public void run()
{
System.out.println("Hello This is "+Thread.currentThread().getName());
}
}
class Three
{
public static void main(String args[])
{
A obj=new A();
Thread t1=new Thread(obj,"Alex");
Thread t2=new Thread(obj,"Smith");
Thread t3=new Thread(obj,"John");
t1.start();
t2.start();
t3.start();
System.out.println("Hello This is "+Thread.currentThread().getName());
}
}