Solved

Which of the Following Is the Correct Syntax for Creating

Question 95

Multiple Choice

Which of the following is the correct syntax for creating a File object?


A) File inFile = File("input.txt")
B) File inFile = new File("input.txt")
C) File inFile = File.open("input.txt")
D) File inFile = new File.open("input.txt")

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions