Exam 10: File IO

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

The FileNotFoundException is a descendant of the class IOException.

(True/False)
4.8/5
(41)

Write a Java statement to create an input stream to the binary file statistics.dat.

(Essay)
4.9/5
(39)

A stream is an object that allows for the flow of data between your program and some I/O device or some file.

(True/False)
4.8/5
(39)

Create try and catch block that opens a file named statistics.txt for output.Writes the integers 24,55,and 76 to the file,and then closes the file.

(Essay)
4.9/5
(34)

Binary files store data in the same format that is used by any common text editor.

(True/False)
4.9/5
(33)

The method __________ from the File class forces a physical write to the file of any data that is buffered.

(Multiple Choice)
4.7/5
(35)
Showing 41 - 46 of 46
close modal

Filters

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