Using Relational Operators : Operators « JSP « Java Tutorial






<HTML>
  <HEAD>
    <TITLE>Using Relational Operators</TITLE>
  </HEAD>

  <BODY>
    <H1>Using Relational Operators</H1>
    <%
        int temperature = 70;

        if (temperature < 80) {
            out.println("Just right.");
        }
     %>
  </BODY>
</HTML>








23.13.Operators
23.13.1.Using Operators
23.13.2.Incrementing and Decrementing
23.13.3.Multiplication and Division
23.13.4.Addition and Subtraction
23.13.5.Using Relational Operators
23.13.6.Using Logical Operators
23.13.7.Checking Operator Precedence