public static void main(String[] args)
{
int a = 5;
a ++;
System.out.println(a);
int b = 5;
++ b;
System.out.println(b);static
// 像上面這種不參加運算是沒有影響的void
int c = b ++ * 5; System.out.println(c); System.out.println(b); // ++在後面是先操做,再對自身加1 int d = ++ b * 5; System.out.println(d); System.out.println(b); // ++在前面是先讓本身加1,再執行操做