title: Bracket Syntax Java
body: <p>I am studying for an upcoming AP Computer Science Exam and I have a quick question on syntax within brackets. In the book I'm working through shows the open bracket to always be on the next line rather than being on the same line as the statement. Does it matter either way? I am used to placing the open bracket on the same line when coding, and I want to make sure I won't get docked points for continuing that habit.</p>
  
  <p>Example:</p>
  
  <pre><code>if(1==1){
     //do something
  }
  </code></pre>
  
  <p>or</p>
  
  <pre><code>if(1==1)
  {
     //do something
  }
  </code></pre>
  
  <p>I'm assuming it does not matter but I would like to make sure</p>