java基础之x++与++x

老是会忘记x++和++x的区别

例1:

运行结果:

例2:

运行结果:

x--和--x同理。

原文地址:https://www.cnblogs.com/dorra/p/7155113.html