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");


d. FileReader freader = new FileReader("C:\\InputFile.txt");

Computer Science & Information Technology

You might also like to view...

Match the following buttons with their functions in Internet Explorer:

I. Back II. Forward III. Refresh IV. History V. Search A. displays the list of previously viewed Web sites B. returns to the last page viewed C. finds specific pages based on keywords D. displays the most current information E. moves to the next page in the history list

Computer Science & Information Technology

Line Weight is also referred to as line thickness or ________

Fill in the blank(s) with correct word

Computer Science & Information Technology