Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

why we use increment or decrement operator

843789Oct 30 2009 — edited Nov 2 2009
Hi. I want to know that is there any advantage of using the increment or the decrement operator. Does it makes the code a bit faster to run, etc.
Actually i find these operators to be a bit confusing. so want to ask why should we use them and when.
Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 30 2009
Added on Oct 30 2009
37 comments
389 views