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. Opens a text file for input.

Computer Science & Information Technology

You might also like to view...

To add a tile to a group, ________ it and drag it into that group

A) Ctrl + click B) double-click C) left-click D) right-click

Computer Science & Information Technology

In addition to the Standard toolbar, the AutoSum button is also available on the ____ tab of the ribbon.

A. Home B. Formulas C. Layout D. Review

Computer Science & Information Technology

When performing a search, the ____________________ wildcard stands for any single character.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Two of the cases of an unbalanced tree can be solved by performing three rotations.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology