Which of the following is the method you can use to determine whether a file exists?

a. the File class's canOpen method
b. the Scanner class's exists method
c. the File class's exists method
d. the PrintWriter class's fileExists method


c. the File class's exists method

Computer Science & Information Technology

You might also like to view...

The techniques we used to create recursive triangles can be used with other figures as well. Create nested and corner versions of squares and of pentagons.

Note: All this question requires in an answer is to change the number of sides and angles.

Computer Science & Information Technology

In the table pictured above, the ________ field would make the best primary key

A) Telephone Number B) First Name C) Client ID D) Last Name

Computer Science & Information Technology

When Web pages were first developed in the early 1990s, they were created:

A) with HTML or XML. B) with a program like FrontPage. C) only with XML. D) only with HTML.

Computer Science & Information Technology

New documents can be created from a Master document

Indicate whether the statement is true or false

Computer Science & Information Technology