title: Format name in title case Java help please?
body: <p>so i have to write a java code to :</p>
  
  <ul>
  <li>Input a name</li>
  <li>Format name in title case</li>
  <li>Input second name</li>
  <li>Format name in title case</li>
  <li>Display them in alphabet order</li>
  </ul>
  
  <p>i know that The Java Character class has the methods isLowerCase(), isUpperCase, toLowerCase() and toUpperCase(), which you can use in reviewing a string, character by character. If the first character is lowercase, convert it to uppercase, and for each succeeding character, if the character is uppercase, convert it to lowercase.</p>
  
  <p>the question is how i check each letter ? 
  what kind of variables and strings should it be contained ?
  can you please help?</p>