What does the following statement do?
Scanner scanner = new Scanner(Paths.get("test.txt"));
a. Opens a binary file for input.
b. Opens a binary file for output.
c. Opens a text file for input.
d. Opens a text file for output.
C
Computer Science & Information Technology
You might also like to view...
Pyramids and Hierarchies are two of the SmartArt categories
Indicate whether the statement is true or false
Computer Science & Information Technology
Using the font-family property, a list of fonts separated by a comma provides which of the following?
A. defaults B. variations C. fallbacks D. styles
Computer Science & Information Technology