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

To check a program for syntax errors, you use a program called the Java ____.

A. translator B. compiler C. interpreter D. editor

Computer Science & Information Technology

The GIF format uses ____ compression to reduce file size.

a. native b. proprietary c. lossy d. lossless

Computer Science & Information Technology

A Step value in a For...Next loop can be positive or negative.

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

Computer Science & Information Technology

What is Pending Intent in android?

A - It is a kind of an intent B - It is used to pass the data between activities C - It will fire at a future point of time. D - None of the Above

Computer Science & Information Technology