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...

Access 2010 consolidates many database management tasks on the new ____ tab.

A. File B. Backstage C. View D. Options

Computer Science & Information Technology

____________________ orientation is 8.5" wide by 11" tall.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

One advantage of proprietary software versus off-the-shelf software is that _____.

A. the initial cost is lower B. the software is likely to meet the basic business needs that are common across organizations C. the software is likely to be of high quality because many customer firms have tested the software and helped identify its bugs D. the software provides a company a competitive advantage by solving problems in a unique manner

Computer Science & Information Technology

The statement that ends the recursion is known as the default case.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology