Q10
What is the purpose of the `PrintWriter` class in Java?
A.
It is used to read binary data from a file
B.
It is used to write formatted text to a file
AnswerC.
It is used to read text from the keyboard
D.
It is used to read & write binary data from a file
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board