Solved

In Windows, Which of the Following Statements Will Open the File

Question 55

Multiple Choice

In Windows, which of the following statements will open the file, InputFile.txt, that is in the root directory on the C: drive?


A) FileReader freader = new FileReader("C:\InputFile.txt") ;
B) FileReader freader = new FileReader("C:\InputFile\txt") ;
C) FileReader freader = new FileReader("/c/InputFile.txt") ;
D) FileReader freader = new FileReader("C:\\InputFile.txt") ;

Correct Answer:

verifed

Verified

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents