class Z
{
public static void main(String[] args)
{
new Thread (new Thread(new Runnable()
{
public void run()
{
System.out.println("runnable run");
}
}
)
{
public void run()
{
System.out.println("subthread run");
}
}
)
{
public void run()
{
System.out.println("12345");
}
}.start();
}
}
|
|