It looks like it ran ok to me.
You have several choices.
1) You can write the output to a file
java BeerSong > beerSong.txt
Now open the bearSong.txt file with an editor (Notepad?)
2) You can increase the length of your DOS screen
Open a DOS prompt window
Click on the icon on the top left. Click on Properties.
Go to the "Layout" tab.
Under "Screen Buffer Size" change the "Height:" to something around 500 (Your output is 495 lines long).
Click "OK"
3) That's probably enough choices for now.