Multiple choice technology databases

Which of the following denote the type of streams used in Java?

  1. character streams

  2. byte streams

  3. Both (A) and (B)

  4. None of the Above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Java I/O uses two parallel hierarchies: byte streams (InputStream/OutputStream) for binary data and character streams (Reader/Writer) for text. Byte streams handle raw I/O (images, files, network). Character streams handle text with proper encoding (unicode, localization). Both types are fundamental to Java's I/O architecture.