title: How is StringBuffer used with .append
body: <p>I'm doing a computer science project and I need to incorporate <code>StringBuffer</code>s. I need help with what <code>.append</code> does and what concatenate means. Somebody told me I can show who is the winner (of my game) by using <code>.append</code> with <code>StringBuffer</code>.</p>
  
  <pre><code>  public static void winner ()
    {
      if (position1 &gt;= 100){
        System.out.println("THE WINNER IS " + name1); 
      }
      else if (position2 &gt;= 100){
        System.out.println("THE WINNER IS " + name2); 
      }
    }
  </code></pre>
  
  <p>Instead of having name as strings, can I use <code>StringBuffer</code> to output who won the game?</p>