浅学之变量自增
package operator;
public class Demo01 {
public static void main(String[] args) {
//++ 自增 --自减
int a=5;
int b=a++;
System.out.println(a);//a+1
System.out.println(b);//b=a
System.out.println("=====================");
int c=++a;
System.out.println(a);//a+1
System.out.println(c);//c=加之后的a
}
}