Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
6 Cards in this Set
- Front
- Back
Where would you use the File class?
|
The File class is used to create objects that provide access to the files and directories of a local file system.
|
|
What is an I/O filter?
|
An I/O filter is an Object that reads from one stream and writes to another, usually altering the data in some way as it is passed from one stream to another.
|
|
In System.out.printLn(), What is System, out and printLn?
|
System is a predefined class, out is a PrintStream that represents standard out and printLn is a built-in method for printing output one line at a time.
|
|
What is a transient variable?
|
A transient variable is a variable that may not be serialized. If you don't want some field to be serialized, you can mark it transient or static.
|
|
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream hierarchy?
|
Reader/Writer is character orientated and InputStream/OutputStream is byte-orientated.
|
|
What is an IOException? Can you give some examples of a few sub-classes of this Exception?
|
IOException signals that an I/O operation of some type has failed. Examples of IOException sub-classes are, FileNotFoundException, EOFException and SocketException.
|