A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
The ++ and – Operators
Joined: Jun 08, 2009
Apr 04, 2011 16:36:00
I was looking at following link on The ++ and – Operators
>>>This is because the ++ is placed after the number 1, and thus the incrementation (the adding of 1) will occur after the line is run. The same principle is true for the – operator.
I clearly did not understood. Does it mean The ++ and –- Operators instead of The ++ and – Operators.
Any ideas, resources,sample code,links, highly appreciated. thanks in advance
Joined: Oct 13, 2005
Apr 05, 2011 02:53:36
The bit about "after the line has run" is incorrect.
Look at these old thread, and the links in them:
, and this
As you will see, the ++ and -- operators cause no end of confusion.
I agree. Here's the link:
subject: The ++ and – Operators
Best way of finding the bigdecimal is greater than 1 ?
Unary operator evaluation
question from Marcus Green's Mock Exam 3
New guy with a problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014