java 增量运算符

//java 增量运算符
public class Test16{
    public static void main(String args[])
    {
        int x1=10;
        x1+=3; 
        //x1=x1+3,注意这里不用再定义int x1=x1+3,前面已确定了x1的数据类型
        System.out.println(x1);
    }
}

//result:13
原文地址:https://www.cnblogs.com/dengyg200891/p/4820671.html