Which of the following statements are true?

a. A File object encapsulates the properties of a file or a path, but does not contain the methods for reading/writing.
b. You can use the PrintWriter class for outputting text to a file.
c. You can use the Scanner class for reading text from a file.
d. An input object is also called an input stream.
e. An output object is also called an output stream.

a. A File object encapsulates the properties of a file or a path, but does not contain the methods for reading/writing.
b. You can use the PrintWriter class for outputting text to a file.
c. You can use the Scanner class for reading text from a file.
d. An input object is also called an input stream.
e. An output object is also called an output stream.

Computer Science & Information Technology

You might also like to view...

Semantics is the structure and order of the function and the arguments used by Excel to perform a calculation

Indicate whether the statement is true or false

Computer Science & Information Technology

The Play/Pause button can be clicked to view a video

Indicate whether the statement is true or false

Computer Science & Information Technology