In Java, what is the primary purpose of the `PrintStream` class?
A. It is used to read binary data from a file
B. It is used to write binary data to a file
C. It is used to write formatted text to an output stream
D. It is used to read text data from the keyboard
Answer: Option C
Join The Discussion