46.7k views
1 vote
Which of the following statements is false? a. InputStream and OutputStream are abstract classes for performing byte-based I/O. b. Tubes are synchronized communication channels between threads. c. A filter stream provides additional functionality, such as aggregating data bytes into meaningful primitive-type units. FilterInputStream and FilterOutputStream are typically extended, so some of their filtering capabilities are provided by their concrete subclasses. d. A PrintStream performs text output. System.out and System.err are PrintStreams.

1 Answer

6 votes

Answer:

The answer is "Option b".

Step-by-step explanation:

Tubes were streams among processes, that are interconnected. It is coordinated ways to communicate between threads, that's why the only option b is wrong, and the correct choice can be defined as follows:

  • In option a, the byte-based I/O the input and output stream abstract class is used, that's why it correct.
  • In option c, It is used to provide additional functionality, that's why it correct.
  • In option d, It is used to provide the text output.
User Yanhan
by
6.7k points