adplus-dvertising
frame-decoration

Question

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

a.

clear()

b.

flush()

c.

fflush()

d.

close()

Posted under Java Programming

Answer: (b).flush()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

Q. Which of these method(s) is/are used for writing bytes to an outputstream?

Q. Which of these stream contains the classes which can work on character stream?

Q. Which of these class is used to read characters in a file?

Q. Which of these method of FileReader class is used to read characters from a file?

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

Q. Which of these classes can return more than one character to be returned to input stream?

Q. Which of the following is not a segment of memory in java?

Q. Does code Segment loads the java code?

Q. What is JVM?

Q. Which one of the following is a class loader?

Q. Which class loader loads jar files from JDK directory?

Q. Which of the following is not a memory classification in java?

Q. What is the Java 8 update of PermGen?

Q. Classes and Methods are stored in which space?

Q. Where is String Pool stored?

Q. The same import package/class be called twice in java?

Q. Which of these exceptions handles the situations when an illegal argument is used to invoke a method?

Q. Which of these exceptions will be thrown if we declare an array with negative size?

Q. Which of these packages contain all the Java’s built in exceptions?

Q. Which of these exceptions will be thrown if we use null reference for an arithmetic operation?