Best practice for Null check in Java
<p>Consider the following two lines of code</p>

<pre><code>if(test ! = null)
</code></pre>

<p>and </p>

<pre><code>if(null != test)
</code></pre>

<p>Is there is any difference in above two statements, performance wise? I have seen many people using the later and when questioned they say its a best practice with no solid reason.</p>
