What is the correct syntax for a do-while loop in Java?
do { } while (condition);
while (condition) { }
do (condition) { }
while { condition };
This question is part of this quiz :