Exam 12: Exceptions and Advanced File Io

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

What will be the result of the following statements? FileInputStream fstream = New FileInputStream("DataIn.dat"); DataInputStream inFile = New DataInputStream(fstream);

(Multiple Choice)
4.8/5
(40)

To write data to a binary file you create objects from the following classes:

(Multiple Choice)
4.8/5
(39)

If you want to append data to the existing binary file,BinaryFile.dat,use the following statements to open the file.

(Multiple Choice)
4.8/5
(38)

Unchecked exceptions are those that inherit from

(Multiple Choice)
4.8/5
(33)

If the code in a method can potentially throw a checked exception,then that method must

(Multiple Choice)
4.8/5
(38)

In order for an object to be serialized,its class must implement this interface.

(Multiple Choice)
4.9/5
(25)
Showing 41 - 46 of 46
close modal

Filters

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