Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
> Hi > } > Thanx & Regards > Ramesh It is giving 10 because you have the statement "i++". Put the increment (++) in front of the "i" and it will first increment i, then assign it to i, giving you 11.
Replies:
|
Sponsored Links
|