JavaTutorial icon indicating copy to clipboard operation
JavaTutorial copied to clipboard

Java教程,包括多线程,泛型,反射,IO,容器类,注解

Results 4 JavaTutorial issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/26052082/57209093-9ea2d980-7009-11e9-8db8-92cc5dc7904b.png) 你好,这句话有误了,根据interrupted方法的注释,应该是:如果连续两次调用interrupted(),第一次如果是true,第二次一定是false.因为此方法只会清除被中断的状态,而不会主动设置中断状态。 * Tests whether the current thread has been interrupted. The * interrupted status of the thread is cleared by this method. In * other words, if this method...

ComplexCurrentThreadTest测试结果与ReadMe里的说明结果不符合 begin========= Thread.currentThread().getName=main this.getName()=Thread-0 end=========== run begin======= Thread.currentThread().getName=Thread-1 this.getName()=byhieg run end========== 这是我在eclipse里的执行结果,在执行run的时候Thread.currentThread().getName的结果是Thread-1而不是上面设置的byhieg

我使用idea导入了项目,然后想跑一下test,右键run 就说test framework quit unexpectedly class not found :....... 找不到test文件,是为啥呀

markdown的代码区域```加上java 使代码颜色高亮,读起来更舒服