in JAVA by

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

1 Answer

0 votes
by

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
0 votes
asked Jun 16, 2019 in JAVA by reins.robin
+1 vote
asked May 24, 2019 in JAVA by rajeshsharma
...