亲测成功的源码!!!
public class T extends Thread {
static int i;public void run(){ while(true){i++; } }
main(主方法){ Thread t = new T ();t.start();while(true) {你的代码}}}j手机码字,大括号可能出错。跪求给分
int i = 0;
while (i != ++i) {
System.out.println("输出"); //这个可以
}
-------------------------
int i = 0;
while (i != i++) {
System.out.println("输出"); //这个不可以
}