// Rewriting code (part d) public class RewritingCode_d { public static void main(String[] args) { System.out.println("====== ORIGINAL DO LOOP ======="); for(;;) ; /* Compile either this or the original code //System.out.println("====== REWRITTEN AS FOR LOOP (v. 1) ======="); do { }while(true); */ } }