Difference between prefix and postfix forms of the
++operator?
Answer Posted / ranganathkini
The prefix ++ operator first increments the value by one and
then returns the new value.
The postfix ++ operator first returns the value and then
increments it.
| Is This Answer Correct ? | 36 Yes | 1 No |
Post New Answer View All Answers
What is break and continue statement?
What is called module?
Can we sort hashset in java?
What the difference is between execute, execute Query, execute Update?
Is string is a data type in java?
What do you mean by Function Overloading in java?
How can I debug the Java security exceptions and AccessControlExceptions?
How to sort an array from smallest to largest java?
Describe the syntax of multiple inheritance? When do we use such an inheritance?
What is an argument java?
Can we have more than one package statement in source file ?
Why set do not allow duplicates in java?
What is meant by method overriding?
What are runtime exceptions?
Is null an object java?