18. Files Flashcards
«_space;is to * like»_space; is to /, or is it vice versa?
Shifting left (<>) has the same effect as division.
What is the value of each of the following expressions?
- 16 & 8 & 4 & 2 & 1
- 16 | 8 | 4 | 2 | 1
ss
What possible values are given to the method(s) used for writing data? Bytes? Characters? Lines?
ss
What result is returned by PrintWriter: checkError() instance method if something has gone wrong?
ss
What does PrintWriter not have that PrintStream does? Is that something we want to generally use?
ss
What is flushing and automatic flushing?
ss
Is IOException a subclass Exception or RuntimeException? Is it a checked or unchecked exception Type?
ss
What possible values are returned from the method used for reading data (InputStream)? Bytes? Characters? Lines? Some other value?
ss
What possible values are returned from the instance method used for reading data? Bytes? Characters? Lines? Some other value? (InputStreamReader)
s
What possible values are returned from the method used for reading data? Bytes? Characters? Lines? Some other value? (BufferedReader)
ss
What is the superclass of FileInputSteam class?
s
FileWriter class is merely a convenience for something. What?
s
How do we use the File class to check for the existence of a file?
s
In that order are bytes of a number written?
s
In what order are bytes of a number read?
s