Mary,
In the future,
you should compile the code, run it and see what happens for yourself. Then tweak the code to see how your changes affect the output. This is a great way to learn.
If you want to understand
why something happens, then post your question and someone will be happy to help.
Good luck.