concept do - while in category java

appears as: do-while, do-while
OCA Java SE 8 Programmer I Certification Guide

This is an excerpt from Manning's book OCA Java SE 8 Programmer I Certification Guide.

For the exam, it’s important for you to have a good understanding of, and practice in, using postfix and prefix operators. In addition to the expressions shown in the previous examples, you can also find them in use as conditions in if statements, for loops, and do-while and while loops.

Apart from the for loops, the other looping statements on the exam are while and do-while, which are discussed in the next section.

Figure 5.20. Comparing do-while and while loops