A

Admin • 825.56K Points
Coach

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: 12
  • Filed under category Java
  • Hashtags:

Explanation by: Admin
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.