package com.test.thread;
import java.util.ArrayList;
import java.util.List;
publicclass MyThreadextends Thread
{
public MyThread(String name)
{
this.setName(name);
}
package com.test.thread;
import java.util.ArrayList;
import java.util.List;
publicclass MyThreadextends Thread
{
public MyThread(String name)
{
this.setName(name);
}