异常信息:
Exception in thread "main" java.lang.IllegalThreadStateException
at java.lang.Thread.start(Unknown Source)
at com.test.多线程.test1.Test.main(Test.java:7)
原因:多次调用start()方法。
异常信息:
Exception in thread "main" java.lang.IllegalThreadStateException
at java.lang.Thread.start(Unknown Source)
at com.test.多线程.test1.Test.main(Test.java:7)
原因:多次调用start()方法。