Class MyThread implements Runnable{
public void run() {
try {
[Link]("Runnable Thread:"+ [Link]().getName());
[Link](5000); }
catch (InterruptedException e)
[Link]([Link]()); } }
public static void main(String[] args) {
Thread t1 = new Thread(new NewClass());
Thread t2 = new Thread(new NewClass());
Thread t3 = new Thread(new NewClass());
[Link](); [Link]();
try {
[Link]();}
catch (InterruptedException e) {
[Link]([Link]()); }
[Link](); } }