public static void main(String[] args) {
int count=0;
for (int i = 0; i < 10; i++) {
count=count++;
}
System.out.println(count);
}
count = count++ 原理是 temp = count; count = count+1 ; count = temp; 因此count始终是0 这仅限于java 与c是不一样的