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 stringwriter?
What are the various access specifiers for java classes?
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
What is a local block?
How do you use parseint in java?
What is yield () in java?
Can a constructor have different name than a class name in java?
What are the wrapped, classes?
What are inbuilt functions?
How to check if a list is sorted in java?
What is difference between path and classpath variables?
What is the difference between a method and a function in alice?
What do you mean Abstraction in java?
Explain about method local inner classes or local inner classes in java?
What are basic keywords?