Java · Loops

break, continue and loops until a threshold

Some loops don't know their count in advance: they run until a balance, a temperature or a reading crosses a line.