πŸ“Š JAVA
Q. Which method is used to write an array of 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
πŸ’¬ Discuss
βœ… 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.

Explanation by: Geetam
public void write(byte[])throws IOException is used to write an array of byte to the current output stream.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
240
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Geetam
Publisher
πŸ“ˆ
83%
Success Rate