I'm beginner in java so i have question about while loop. When you write System.out.println(count) inside the while body it counts to the last number, but if you write System.out.println(count) outside while body it prints the last number. Why is that so? Can anyone explain?