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

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

Loman
Views: 1376 | Community Opinion: 1

Tags..  Java Interview  Core Java  Java Operators  Operator Forms

Bookmark this page..



Ask a New Question Go to Home

Community Opinion/Answers
 
Jony Said..

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. 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.






What do you think? Add your opinion/answer
*Name
*your opinion/answer: