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
(43)
Correct Answer:
Verified

B

The ________ abstract classes are Unicode character-based streams.

Free
(Multiple Choice)
4.9/5
(33)
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
(32)
Correct Answer:
Verified

C

Which of the following statements is false?

(Multiple Choice)
4.9/5
(30)

________ 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
(38)

Which of the following statements is false?

(Multiple Choice)
4.8/5
(47)

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

(Multiple Choice)
4.7/5
(34)

Which of the following statements is false?

(Multiple Choice)
4.9/5
(38)

Which of the following statements is false?

(Multiple Choice)
4.9/5
(25)

Which of the following is false?

(Multiple Choice)
4.9/5
(37)

Which of the following statements is false?

(Multiple Choice)
4.8/5
(28)

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

(Multiple Choice)
4.7/5
(27)

Which of the following is false?

(Multiple Choice)
4.8/5
(40)

Which DirectoryChooser method returns the folder the user selected?

(Multiple Choice)
4.9/5
(33)

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

(Multiple Choice)
4.9/5
(41)

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

(Multiple Choice)
5.0/5
(38)

JAXB's static method ________ deserializes objects from XML.

(Multiple Choice)
4.8/5
(41)

Which of the following statements is true?

(Multiple Choice)
4.8/5
(37)

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

(Multiple Choice)
4.8/5
(35)

Which FileChooser method returns the file the user selected?

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

Filters

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