Writer Class

Package: java.io

Writer is an abstract class from which all character stream writer classes are derived. The most commonly used output stream classes are BufferedWriter, FileWriter, and PrintWriter. You can use any of these classes whenever a Writer is called for.

CrossRef.eps Because you can’t create an instance of the Writer class, I won’t cover its constructors and methods here. For more information, see BufferedWriter, FileWriter, and PrintWriter.

Get Java For Dummies Quick Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.