0
If i println x++ and i println x; it gives the same value but x++ is increment of x and x is just x
2 Réponses
+ 3
The x++ doesn't change the value immediatly, so if you print it, it will output the same value of x. But if you try to println x again, you'll see that the value has increased by 1.
If you still don't understand, please go back to the course and see the examples there, and play with them a bit, they are well explained.
0
Thanks