How do methods setIn, setOut and setErr affect the standard input, output and error streams?

a. They output data to the standard input, output and error streams.
b. They provide the only way to access the standard input, output and error streams.
c. They redirect the standard input, output and error streams.
d. They empty the standard input, output and error streams.


C

Computer Science & Information Technology

You might also like to view...

The basic generic functional interface ________ in package java.util.function contains method get that takes no arguments and produces a value of type T. Often used to create a collection object in which a stream operation’s results are placed.

a. Consumer b. Function c. Supplier d. BinaryOperator

Computer Science & Information Technology

A text box can have ____, which allow you to view any information not currently showing in the control.

A. scroll bars B. view bars C. scroll handles D. highlight bars

Computer Science & Information Technology

A number that represents a quantity or amount is called a ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

What is the decimal number 13 in hexadecimal?

A) 1110 B) 4G2 C) D D) 1110

Computer Science & Information Technology