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...

A(n) ____ means that if A and B have a trust and B and C have a trust, A and C automatically have a trust as well.

A. one-way trust B. transitive trust C. linear trust D. implied trust

Computer Science & Information Technology

Use the CSS shorthand ____ property to add horizontal and vertical space to a table.

A. padding B. margin C. cell-padding D. cells

Computer Science & Information Technology

The ___ keyword is often used with the primary key to generate a unique id for each new row in a table.

A. UNIQUE_ID B. INCREMENT_ID C. AUTO_INCREMENT D. AUTO_INCREMENT_ID

Computer Science & Information Technology

To include all fields in a SQL query, use the ____ symbol after the word SELECT.

A. pound (#) B. ampersand (&) C. percent (%) D. asterisk (*)

Computer Science & Information Technology