摘要:
按序打印 解法一:使用volatile public class FooWithVolatile { private volatile int count; public FooWithVolatile() { } public void first(Runnable printFirst) thr 阅读全文
摘要:
while(true): public class Test { public static void main(String[] args) { while(true) { } } } 在?看看汇编 for( ; ; ) public class Test2 { public static voi 阅读全文