Java charAt() Error
<p>I am new to java and don't know why I am getting this error or how to fix it. Any help please?</p>

<blockquote>
  <p>Word.java:42: cannot find symbol</p>
  
  <p>symbol  : method length()</p>
  
  <p>location: class char[]</p>

<pre><code>  char finalLetter = letters.charAt(letters.length()-1);
                              ^               ^
</code></pre>
  
  <p>Thanks~~</p>
</blockquote>
