Multiple Choice
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
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q46: Which is a control structure that causes
Q47: Assume that inputFile references a Scanner object
Q48: A loop that executes as long as
Q49: What will be the value of x
Q50: When the continue statement is encountered in
Q51: When working with the PrintWriter class, which
Q52: The _ loop allows the user to
Q54: In the following code, what values could
Q55: The while loop has two important parts:
Q56: A _ loop will always be executed