java while do while for loop syntax code example Example: java do while do { // loop content } while (/* condition */);