title: Printing a message if a char has more than one symbol(using char, not String)
body: <p>Basically I need to write this message:
  <code>System.out.println("Invalid grade - must enter exactly one letter");</code></p>
  
  <p>And I don't know how to write an (if,for,while loop) which will find if <strong>letterGrade</strong> is bigger than one character, it has to be only one character if > 1 character it should follow this message.</p>
  
  <p>And problem is that I know how to do it with <code>string.length()</code> but this is char and it doesn't work.
  I tried this: </p>
  
  <pre><code>        while(String.valueOf(letterGrade).length() &gt; 1)
                         {
                            System.out.println("Invalid grade - must enter exactly one letter");
                            System.out.print("Enter grade (one character): ");
                            letterGrade = in.next().charAt(0);
                         }
  </code></pre>
  
  <p>But it doesn't print me message that I want, is there some method that finds char greater than one character? Can <code>charAt()</code> help me ?      </p>