title: Do you need brackets in a double for-loop in java if only making a single statement inside?
body: <p>I don't know if the second for-loop would be considered a statement to mean that the curly braces are needed. </p>
  
  <p>So what I am asking is would these <code>for-loops</code>:</p>
  
  <pre><code>for (int i=1;i&lt;a.length;i++){
      for (int j=0;j&lt;a[i].length;j++){
          a[i][j] = b[i][j]-c[i][j];
      }
  }
  </code></pre>
  
  <p>mean the same thing as these <code>for-loops</code>:</p>
  
  <pre><code>for (int i=1;i&lt;a.length;i++)
      for (int j=0;j&lt;a[i].length;j++)
          a[i][j] = b[i][j]-c[i][j];
  </code></pre>