Which of the following statements is true?

a. Class Scanner provides the ability to reposition to the beginning of a file with method seek.
b. Class Scanner provides the ability to reposition to the beginning of a file with method reposition.
c. Class Scanner does not provide the ability to reposition to the beginning of the file.
d. If it is necessary to read a sequential file again, the program can simply keep reading—when the end of the file is reached,
the Scanner is automatically set to point back to the beginning of the file.


c. Class Scanner does not provide the ability to reposition to the beginning of the file.

Computer Science & Information Technology

You might also like to view...

In the accompanying figure, Item 2 points to the ____.

A. SmartArt Process Gallery B. SmartArt Picture Gallery C. SmartArt Shape Gallery D. SmartArt Graphic Styles Gallery

Computer Science & Information Technology

When a template design is complete, you should enable protection

Indicate whether the statement is true or false

Computer Science & Information Technology

What are the three of the reasons programmers use independent Sub procedures?

What will be an ideal response?

Computer Science & Information Technology

A variable defined inside a method is referred to as __________.

a. a global variable b. a method variable c. a block variable d. a local variable

Computer Science & Information Technology