="../index.html"><img src=../../images/javaHeader.gif width=26 height=26 align=bottom border=0 alt="Writing Java Programs | "></a>
<td>
<td align=right>
<a href="TOC.html"><strong><em>Table of Contents</em></strong></a>
</td>
</tr>
</table>
<p>
<hr size=4>

<h1>
     The String and StringBuffer Classes
</h1>
<p>
<blockquote>

The <code>reverseIt()</code> method in the following class uses both
the String and StringBuffer classes to reverse the characters
of a string. If you have a list of words, you can use