x++和++x区别;
y++和y--区别;
package study;
public class Demo03 {
public static void main(String[] args) {
int x=3,y=4,a,b,c,d;
a=x++;
b=++x;
c=y--;
d=--y;
System.out.println(a);
System.out.println(b);
System.out.println(c);
System.out.println(d);
}
}