title: length and length() in Java
body: <p>Why do we have the length of an array as an attribute, <code>array.length</code>, and for String we have a method, <code>str.length()</code>?</p>
  
  <p>Is there some reason?</p>