Multiple Choice
Which of the following is the correct syntax for creating a File object?
A) File inFile = new File("input.txt") ;
B) File inFile = File.open("input.txt") ;
C) File inFile = File("input.txt") ;
D) File inFile = new File.open("input.txt") ;
Correct Answer:

Verified
Correct Answer:
Verified
Q84: Select the missing expression in the code
Q85: Consider the following code snippet.<br>Scanner inputFile =
Q86: What is recommended if the standard library
Q87: Which of the following statements about a
Q88: Consider the following code snippet.<br>Scanner inputFile =
Q90: The PrintWriter class is an enhancement of
Q91: Assume inputFile is a Scanner object used
Q92: Which exception class should you use from
Q93: Your program must read in an existing
Q94: Select an expression to complete the following