in JAVA by (20.8k points)

What is the difference between the prefix and postfix forms of the ++ operator in Java?

1 Answer

0 votes
by (32.2k points)

The prefix form performs the increment operation and returns the value of the increment operation. The postfix form returns the current value all of the expression and then performs the increment operation on that value.

Related questions

0 votes
asked Jun 17, 2019 in JAVA by reins.robin (109 points)
...