Exam 15: Files, Inputoutput Streams, Nio and Xml Serialization

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Streams that input bytes from and output bytes to files are known as ________.

Free
(Multiple Choice)
4.9/5
(80)
Correct Answer:
Verified

B

The ________ abstract classes are Unicode character-based streams.

Free
(Multiple Choice)
4.9/5
(85)
Correct Answer:
Verified

A

Class ________ provides static methods for common file and directory manipulations, including methods for copying files; creating and deleting files and directories; getting information about files and directories; reading the contents of files; getting objects that allow you to manipulate the contents of files and directories; and more.

Free
(Multiple Choice)
4.8/5
(74)
Correct Answer:
Verified

C

Which of the following statements is false?

(Multiple Choice)
4.9/5
(73)

________ is an I/O-performance-enhancement technique-it reduces the number of I/O operations by combining smaller outputs together in memory; the number of physical I/O operations is much smaller than the number of I/O requests issued by the program.

(Multiple Choice)
4.8/5
(82)

Which of the following statements is false?

(Multiple Choice)
4.8/5
(95)

A(n) ________ path starts from the directory in which the application began executing.

(Multiple Choice)
4.7/5
(79)

Which of the following statements is false?

(Multiple Choice)
4.9/5
(85)

Which of the following statements is false?

(Multiple Choice)
4.8/5
(63)

Which of the following is false?

(Multiple Choice)
4.9/5
(91)

Which of the following statements is false?

(Multiple Choice)
4.8/5
(68)

What does the following statement do? Scanner scanner = new Scanner(Paths.get("test.txt"));

(Multiple Choice)
4.8/5
(84)

Which of the following is false?

(Multiple Choice)
4.9/5
(90)

Which DirectoryChooser method returns the folder the user selected?

(Multiple Choice)
4.9/5
(89)

Path method ________ returns the String name of a file or directory without any location information.

(Multiple Choice)
4.9/5
(90)

Records in a sequential file are not usually updated in place. Instead ________.

(Multiple Choice)
5.0/5
(78)

JAXB's static method ________ deserializes objects from XML.

(Multiple Choice)
4.8/5
(93)

Which of the following statements is true?

(Multiple Choice)
4.8/5
(86)

When all the contents of a file are truncated, this means that ________.

(Multiple Choice)
4.8/5
(89)

Which FileChooser method returns the file the user selected?

(Multiple Choice)
4.7/5
(86)
Showing 1 - 20 of 30
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)