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

What is the name of the virtual machine image management component used by OpenStack?

A. Glance B. StackMon C. VirtManager D. ActiveMQ

Computer Science & Information Technology

Which of the following is a sensor type that uses bandwidth throttling and alters malicious content?

A. passive only B. inline only C. active only D. online only

Computer Science & Information Technology