aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Servlets and JSP
  • Which of the following methods is used to clear the buffe...
Multiple choice

Which of the following methods is used to clear the buffer content and the status code and headers?

  1. public void resetBuffer()

  2. public void rest()

  3. public void getBuffer()

  4. public void setBufferSize()

  5. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This method is used to clear the buffer content and the status code and headers.

Keep practicing — related questions

  • Which of the following methods in OutputStream class finalizes the output state so that the buffers are cle...
  • What does flushBuffer() method of HttpServletResponse object in JSP (Java Server Pages)?
  • Which method of response object outputs the contents of the page buffer immediately but it does not stop pr...
  • Which of the following methods is not present in the Buffer class in Java?
  • After having constructed a StringBuffer, which of the following methods is used to ensure that the buffer c...
  • Which method is used to set the size of the buffer?
  • Which of the foolowing methods in StringBuffer class is used to set the length of the buffer within a Strin...
  • Which of the following methods is used to revert the characters within a StringBuffer object?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Core Classes and Threads (1473 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy