package com.shrimpking.t2;
/**
* Created by IntelliJ IDEA.
*
* @Author : Shrimpking
* @create 2024/9/14 21:41
*/
public class IncrementOperator
{
public static void main(String[] args)
{
// ++ -- 自加自减
int a = 3;
int b = 3;
System.out.print("a=" + a);
System.out.println(",a++=" + (a++) + ",a=" + a);
System.out.print("b=" + b);
System.out.println(",++b" + (++b) + ",b=" + b);
}
}
09-09
792
09-12
172