5 years ago in Java File Input Output

Which of these is a method to clear all the data present in output buffers?

[A] clear()
[B] flush()
[C] fflush()
[D] close()
Loading...
Next Question

Overall Stats

Attempted 422
Correct 127
Incorrect 124
Viewed 171

Answers

Guest
Guest
akshay kharat
akshay kharat - 4 days ago

akshay kharat from Pune, India is saying clear() is correct answer

Vaibhav Bisht
Vaibhav Bisht - 4 weeks ago

Vaibhav Bisht from Dehradun, India is saying flush() is correct answer

Zo Go
Zo Go - 4 weeks ago

Zo Go from Casablanca, Morocco is saying clear() is correct answer

nezha Khai
nezha Khai - 1 month ago

nezha Khai from Casablanca, Morocco is saying clear() is correct answer

Keerthana Keerthi
Keerthana Keerthi - 1 month ago

Keerthana Keerthi is saying fflush() is correct answer

Related Questions

Which of these class can be used to implement input stream that uses a character array as the source?

  • [A] BufferedReader
  • [B] FileReader
  • [C] CharArrayReader
  • [D] FileArrayReader