Which of the following statements are true?

```
a. If a file (e.g., c:\temp.txt) does not exist, new File("c:\\temp.txt") returns null.
b. If a directory (e.g., c:\liang) does not exist, new File("c:\liang") returns null.
c. If a file (e.g., c:\temp.txt) does not exist, new File("c:\\temp.txt") creates a new file named c:\temp.txt.
d. If a directory (e.g., c:\liang) does not exist, new File("c:\liang") creates a new directory named c:\liang.
e. None of the above.
```


e. None of the above.

Computer Science & Information Technology

You might also like to view...

When a thread calls the acquire method, the lock enters the _________ state.

a) waiting. b) blocked. c) locked. d) None of the above.

Computer Science & Information Technology

The first electronic digital computer was designed in the late 1930s by __________.

a. John Atanasoff and Clifford Berry b. John von Neumann c. Steve Jobs and John Eckert d. Albert Einstein e. Niklaus Wirth

Computer Science & Information Technology

Maintaining common procedures from one job to the next will help you and your studio run smoothly

Indicate whether the statement is true or false

Computer Science & Information Technology

Plain text files have the ____ extension.?

A. ?.pla B. ?.txt C. ?.pxt D. ?.pln

Computer Science & Information Technology