what is 'new StringBuffer(aString)' in java?
<p>I see a program to reverse a string</p>

<pre><code>public class ReverseName{
    public static void main(String[]args)
    {
        String name=args[0];
        String reverse=new StringBuffer(name).reverse().toString();
        System.out.println(reverse);
    }
}
</code></pre>

<p>so what is  <code>new StringBuffer(name).reverse().toString();</code> all about?</p>
