が、私はこの出力を見てショックを受けていますし、それは私を助けてください、内部で働いているかを知りたいです。
int i=0;
i = i++;
System.out.println(i);
i=i++;
System.out.println(i);
出力は
int i=0;
i++;//note the removed i =
System.out.println(i);
i++;//note the removed i =
System.out.println(i);
から0と0
http://stackoverflow.com/questions/3831341/why-does-this-go-into-an-infinite-loopこれをお読みください。 – SHiRKiT