B is correct. BufferedWriters can be constructed only by wrapping a Writer. Lines16, 17, and 18 are correct because BufferedWriter, FileWriter, and PrintWriter allextend Writer. (Note: BufferedWriter is a decorator class. Decorator classes areused extensively in the java.io package to allow you to extend the functionality ofother classes.) A, C, D, E, and F are incorrect based on the above.