Java: Difference between PrintStream and PrintWriter
This might sound flippant, but PrintStream prints to an OutputStream, and PrintWriter prints to a Writer. Ok, I doubt I’ll get any points for stating the obvious. But there’s more. So, what is the difference between an OutputStream and a Writer? Both are streams, with the primary difference being a OutputStream is a stream of … Read more