+ 6

Java - Post increment logic in Numeric expressions

Where error in my logic? https://code.sololearn.com/cFihbgTrg04Z/?ref=app

9th Jun 2019, 5:46 PM
Michail Getmanskiy
Michail Getmanskiy - avatar
3 Antworten
+ 3
It could be a LOT easier if you cleaned it up a little, maybe tell us where to look?
9th Jun 2019, 5:54 PM
Trigger
Trigger - avatar
+ 2
I don't seem to understand exactly at what point i ++ "Post increment" is triggered in numeric expressions in Java. This code demonstrates how I understand it, and what the code actually gives out. At the end of the code I conclude and want to know if it is correct.
9th Jun 2019, 6:00 PM
Michail Getmanskiy
Michail Getmanskiy - avatar
+ 1
Robin : Thank. This is very interesting. I was not aware of these details and thought that everything happens by analogy with the usual binary code. I was wrong.
9th Jun 2019, 7:19 PM
Michail Getmanskiy
Michail Getmanskiy - avatar