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?

Prefix ++ operator first increments the value of operand by 1 and then return the value. Postfix ++ operator first reutrn the value and then increments the value of operands by 1.

By:Jalees
Date:2015-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher