在到多线程这一块,跟着练了一个小程序,编译的时候有这样的错误提示,求指点怎么解决
class Demo extends Thread
{
public void run()
{
for(int x=0;x<60;x++)
Syatem.out.println("demo run-----"+x);
}
}
class ThreadDemo
{
public static void main(String[] args)
{
Demo d = new Demo();
d.start();
for(int x=0;x<60;x++)
System.out.println("Hello-----"+x);
}
}
