Section 3 Input/Output Fundamentals
(Answer
all questions in this section)
1. The new
Paths class lets you resolve .. (double dot) path notation. True or false? Mark for
True
(*)
False
2. The
normalize() method removes extraneous elements from a qualified path. True or
false?
True
(*)
False
3. The Files
class lets you check for file properties. True or false?
True
(*)
False
4. The
read() method lets you read a character at a time. True or false? Mark for Review
True
(*)
False
5. Java 7
requires you create an instance of java.io.File class. True or false? Mark for Review
True
False
(*)
6. Prior to
Java 7, you write to a file with a call to the BufferedWriter class's write()
method. True or false? Mark for Review
True
(*)
False
7. A
serialized class implements which interface?
Mark for Review
Serializing
Serialized
Serializer
SerializedObject
Serializable
(*)
8. An
OutputInputStream lets you read a serialized object. True or false? Mark for Review
True
False
(*)
Komentar
Posting Komentar