A Java Program to declare, initialize and print a StringBuffer object.
publicclass JAVA_056 { publicstaticvoid main(String[] args) { StringBuffer Sb=new StringBuffer("This is a StringBuffer Object!"); System.out.println(Sb); } }