Table of Contents

append

Appends a CharSequence

append(char): PrintStream
append(CharSequence): PrintStream
append(CharSequence, int start, int end): PrintStream
 
return value: PrintStream

Language Example

        int i = 42;
        StringBuffer buf = new StringBuffer(42);
        buf.append(i);
        buf.append(" is a answer to a nice question");
        System.out.println(buf);

output

   42 is a answer to a nice question