Thanks Kevin, I will update the way of my answer in subsequent posts.
Type: Posts; User: namhm
Thanks Kevin, I will update the way of my answer in subsequent posts.
Okay, guy, I was thinking that it is pretty simple for him to understand.
I explain it here: because the value of the variable numberCounter is increased by one before the System.out.println() gets...
Put the line:
numberCounter++;
to the end of do's body section.
java memory