Multiple Choice
Which expression returns a String representing the full path to the file filename.txt?
A) Paths.get("filename.txt")
B) Paths.get("filename.txt") .toString()
C) Paths.get("filename.txt") .toAbsolutePath()
D) Paths.get("filename.txt") .toAbsolutePath() .toString()
Correct Answer:

Verified
Correct Answer:
Verified
Q47: Which file storage method is in human-readable
Q48: Assume we have a RandomAccessFile object, file,
Q49: Which of the following is NOT a
Q50: Why does FileInputStream override the read method
Q51: Which code stores an array studentArray of
Q53: What do we call the measure in
Q54: Which class is used for output of
Q55: You would need a Caesar cipher with
Q56: Which statement about object streams is NOT
Q57: Readers and writers access sequences of _.<br>A)bytes<br>B)files<br>C)streams<br>D)characters