title: Java math sequence (Beginner)
body: <pre><code>System.out.print(3+2+1-5+4%2-1/4+6);
  </code></pre>
  
  <p>Output: <code>7</code></p>
  
  <p>How does the sequence of performing math operators work? Does Java follow the algebraic PEMDAS or something else?</p>