摘要:
public class test { public static void main(String[] args) { int a = 5; boolean c = true; if(c=false){ System.out.println(a); } //不输出 a = 5; c = false 阅读全文
摘要:
i++ 先利用i,再自增 ++i 先自增,再利用i public class test { public static void main(String[] args) { int i = 8; int j = i++; // j = 8 , i = 9 i = 8; j = ++i; // i = 阅读全文