Computer Science, asked by atreyimajumderdpsnt, 5 hours ago

Can someone pls share an example of using postfix increment and decrement operators in a sum in java?
I will report a scammer and will mark the brainliest answer
Stay safe

Answers

Answered by joshimleena
0

Explanation:

At Line 7, we used the increment operator. So the value of the X was returned first (i.e., 10), and then X value is incremented by 1. Line 8: We called the X value again; it displays 11 because the value has already updated. Same with the decrement operator

Similar questions