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
When super keyword is used?
What is function and its uses?
What is regex in java?
Is string passed by reference in java?
What is JVM and is it platform independent?
What is lexicographically smallest string?
What is multithreading in java?
How do you override a method in java?
How many types of assembly languages are there?
what is enumset?
How do you escape a string?
Explain the difference between collection api and stream api in java8?
What do you mean by an object in java?
Where are variables stored?
What is a parent class in java?