Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Java How To Program
Quiz 15: Files, Streams and Object Serialization
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 1
Multiple Choice
Adding the services of one stream to another is known as ________.
Question 2
Multiple Choice
What interface must a class implement to indicate that objects of the class can be output and input as a stream of bytes?
Question 3
Multiple Choice
What does the following statement do? Scanner scanner = new Scanner(Paths.get("test.txt") ) ;
Question 4
Multiple Choice
Path method ________ returns the String name of a file or directory without any location information.
Question 5
Multiple Choice
Which of the following statements is true?
Question 6
Multiple Choice
Instance variables that are not to be output with a Serializable object are declared using which keyword?
Question 7
Multiple Choice
________ path starts from the directory in which the application began executing.
Question 8
Multiple Choice
Which of the following statements is false?
Question 9
Multiple Choice
Streams that input bytes from and output bytes to files are known as ________.
Question 10
Multiple Choice
A serialized object is ________.
Question 11
Multiple Choice
Which of the following statements is false?
Question 12
Multiple Choice
Which statement regarding Java files is false?
Question 13
Multiple Choice
Which of the following statements is false?
Question 14
Multiple Choice
Records in a sequential file are not usually updated in place. Instead ________.
Question 15
Multiple Choice
How do methods setIn, setOut and setErr affect the standard input, output and error streams?
Question 16
Multiple Choice
When all the contents of a file are truncated, this means that ________.
Question 17
Multiple Choice
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.
Question 18
Multiple Choice
Which of the following classes is not used for file input?
Question 19
Multiple Choice
Which of the following classes enable input and output of entire objects to or from a file? A. SerializedInputStream B. SerializedOutputStream C. ObjectInputStream D. ObjectOutputStream E. Scanner F.Formatter