how to check the string array is empty or null android?
<p>I am new to java. Am unable to check for null. Could you enlighten me on this? 
I have string array which has no elements.</p>

<p>I tried this code</p>

<pre><code>String[] k = new String[3];
if(k==null){
    System.out.println(k.length);
}
</code></pre>
