Multiple choice technology programming languages

Which abstract class is the super class of all classes used for writing characters. Select the one correct answer.

  1. FileWriter

  2. CharWriter

  3. Writer

  4. OutputStream

  5. FileOutputStream

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In Java's I/O library, java.io.Writer is the abstract superclass for all character-oriented output streams. Classes like FileWriter inherit from it. OutputStream and FileOutputStream are for byte streams, not character writing, and CharWriter is not a standard JDK class.