Difference between prefix and postfix forms of the
++operator?
Answer Posted / uday ray
They behave differently when they are used in expressions on
the right hand side of an assignment statement. A prefix
operator first adds 1 to the operand and the result is
assigned to the variable on left. On the other hand, a post
fix operator first assign the value to the variable on left
and then increments the operands.
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is tree node in java?
How garbage collection is done in java?
What are the types of methodology?
Why for each loop is used?
How to check if a list is sorted in java?
Is void a data type in java?
What is the basic of java?
What lambda means?
Explain about main thread in java?
Difference between static binding and dynamic binding?
Explain what do you mean by functional overloading in java?
How to optimize the javac output?
How does class forname work in java?
Why java is call by value?
What is the function of character?