Q. Which method is used to write an array of byte to the current output stream?
β
Correct Answer: (B)
public void write(byte[])throws IOException
Explanation: public void write(byte[])throws IOException is used to write an array of byte to the current output stream.