摘要: 为了方便理解,我们先看一段代码: int a = 3; System.out.println(a); // 3 int b = a++; //运行顺序是先赋值,再自增 System.out.println(a); //a = a+1; 4 System.out.println(b); //b = a 阅读全文
posted @ 2021-02-20 18:21 人间无价 阅读(28) 评论(0) 推荐(0)