Using the continue Statement : Continue « JSP « Java Tutorial






<HTML>
  <HEAD>
    <TITLE>Using the continue Statement</TITLE>
  </HEAD>

  <BODY>
    <H1>Using the continue Statement</H1>
    <%
        for(double i = 6; i >= -6; i--) {
            if (i == 0) continue;
            out.println("The reciprocal of " + i + " is " + (1 / i) + ".<BR>");
        }
    %>
  </BODY>
</HTML>








23.11.Continue
23.11.1.Using the continue Statement