ExamVeda
Login
Home
This question belongs to Java Program Input Output
Input Output
?

Which of these class contains the methods used to write in a file?

Answer & Solution
Correct Answer: Option C
The class BufferedOutputStream in Java contains methods that are used to write data into a file. It provides buffering for output streams, which helps to improve efficiency by reducing the number of write operations to the underlying file.
Examveda
Question posted by Examveda
Community

Join the Discussion

1 Comment
Mani Deep
Mani Deep 3 years ago
I think its answer is C.BufferedOutputStream