Java: How to do increment in letter
<p>I will be reading in a String of two character in Java. And I want to determine what will be the next increment of it. Below  is the rules of increment.</p>

<pre><code>AA -&gt; AB -&gt; AC -&gt; ... -&gt; AZ -&gt; BA -&gt; BB -&gt; ... -&gt; ZZ -&gt; AA
</code></pre>

<p>So if I read in <code>AC</code>, I will print out <code>AD</code>. </p>

<p><strong>EDIT</strong></p>

<p>I can do increment of one character, like this <code>System.out.println((char) ('C' + 1));</code>. So I was thinking about parsing the string, get the individual character, just increment or decrement the value of char. The wrap around is what get me, like <code>AZ</code> -> <code>BA</code>. Not sure what the best way to achieve that yet. What are your thought</p>
