+2 votes
in JAVA by (19.8k points)

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

1 Answer

0 votes
by (30.8k 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

...