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. They redirect the standard input, output and error streams.

Computer Science & Information Technology

You might also like to view...

Given the following statements from a certain program:

``` Call Purchase Price module Write “Come back soon”``` What statement is executed immediately after theCallstatement? a. Write “Come back soon” b. The first statement in thePurchase Price module c. Nothing is executed; this is an illegal Call d. It is impossible to tell; not enough information is given

Computer Science & Information Technology

If you select the ________ command, Access automatically compacts your database anytime you close it

Fill in the blank(s) with correct word

Computer Science & Information Technology

Describe the function of Homegroup in Windows 8

What will be an ideal response?

Computer Science & Information Technology

Fire suppression systems are divided into three categories

Indicate whether the statement is true or false.

Computer Science & Information Technology