Creating a String Object From a StringBuffer Object
public class MainClass { public static void main(String[] arg) { StringBuffer palindrome = new StringBuffer("so many dynamos"); String aString = palindrome.toString(); System.out.println(aString); } } so many dynamos