G

Geetam • 6.04K Points
Tutor III

Q. Which method is used to write a byte to the current output stream?

  • (A) public void write(int)throws IOException
  • (B) public void write(byte[])throws IOException
  • (C) public void flush()throws IOException
  • (D) public void close()throws IOException
  • Correct Answer - Option(A)
  • Views: 111
  • Filed under category JAVA

Explanation by: Geetam
public void write(int)throws IOException is used to write a byte to the current output stream.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics