Solved

Which of the Following Is the Correct Syntax for Creating

Question 89

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:

verifed

Verified

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

Related Questions