What is the general syntax of a Java \(while\) loop?
- **A)** \(loop\ (booleanExpression)\ \{\ statements;\ \}\)
- **B)** \(while\ \{booleanExpression\}\ statements;\)
- **C)** \(while\ statements;\ (booleanExpression)\)
- **D)** \(while\ (booleanExpression)\ \{\ statements;\ \}\), which repeats the statements as long as the boolean expression remains \(true\)
A \(while\) loop checks its boolean condition BEFORE each iteration, continuing to repeat as long as that condition stays true.