title: Empty check with String[] array
body: <p>I want to know the best practice for checking whether a string array is empty or not.</p>
  
  <pre><code>String[] name = {"a" , "b"};
  
  if (name == null) {
  }
  </code></pre>
  
  <p>Is this a good practice or there are more best codes for the same?</p>