The java.io.Writer interface has two methods called append and write. What are the differences between these two? It even says that
An invocation of this method of the form
out.append(c)behaves in exactly the same way as the invocationout.write(c)
so what is the reason for having two method name variants?