📚 Practice Mode

Java I/O Streams

Learn at your own pace with hints and detailed explanations

1 / 15
Multiple Choice

Which of the following methods is/are defined in the OutputStream class?

  1. flush()
  2. write(byte[ ] b)
  3. write(byte[ ] b, int offset, int len)
  4. both 1 and 3
  5. all of these