Java Reference
In-Depth Information
Using a
do-while
loop, we can further improve the guessing game program from earlier
in this chapter. This time, the program loops until you guess the letter.