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 n in java?
What is final keyword?
Who found java?
Why java is secure? Explain.
Can we declare array without size in java?
What two classes are used to read data only?
What is treemap in java?
What is method reference?
How many types of design patterns are there?
why Interface used?
Explain what access modifiers can be used for variables?
Differentiate between == and equals().
What is regex in java?
When is update method called?
Explain about static nested classes in java?