title: Evaluating multiple variable together in if condition
body: <p>I was wondering whether its possible in java to evaluate multiple variables together in <code>if-else</code> condition like in <a href="https://stackoverflow.com/questions/9504638/evaluate-multiple-variables-in-one-if-statement">python</a>.</p>
  
  <p><strong>actual code</strong></p>
  
  <pre><code>if(abc!=null &amp;&amp; xyz!=null)
  {//...}
  </code></pre>
  
  <p><strong>dummy code</strong></p>
  
  <pre><code>if(abc &amp;&amp; xyz !=null)
  {// will it be possible}
  </code></pre>