title: obj == null vs null == obj
body: <p>I have always used to check for null like</p>
  
  <pre><code>if(null==obj)
  </code></pre>
  
  <p>When I compiled my code and looked into .class file after decompiling, I could see that my code got changed to</p>
  
  <pre><code>if(obj==null)
  </code></pre>
  
  <p>I know in java <code>null==obj</code> and <code>obj==null</code>doesn't matter. But I'm curious to know why compiler changed it?</p>