title: Java String array: is there a size of method?
body: <p>I come from a php background and in php, there is an <code>array_size()</code> function which tells you how many elements in the array are used. </p>
  
  <p>Is there a similar method for a <code>String[]</code> array? Thanks.</p>