0 votes
in JAVA by
Which class is used to write data to a file in Java?

a) File

b) FileOutputStream

c) BufferedWriter

d) FileWriter

1 Answer

0 votes
by

Solution: b) FileOutputStream

Explanation: The FileOutputStream class is used to write data to a file in Java.

...