What exactly is the purpose of PrintWriter? What can it do that other classes can't do? Dale
By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)
posted 14 years ago
It does not do much that a Writer does not do. Both Writers and PrintWriters accept Strings as input. PrintWriter has methods called print() and println() that are similar to those methods in PrintStream. PrintWriter is mainly meant for people who are upgrading their character streams from PrintStreams (8-bit) to Writers (16-bit) so that they can use the same API.