title: Set size on char array in Java
body: <p>I'm developing an Android application.</p>
  
  <p>I want to set size to a char array like this:</p>
  
  <pre><code>public char[5] language;
  </code></pre>
  
  <p>But it doesn't work. I have to delete number five to make it work.<br/><br/>
  I want to limit to five characters to language variable. How can I do that?</p>
  
  <p>Thanks.</p>