Answer the following statements true (T) or false (F)

a) You must explicitly create the stream objects System.in, System.out and System.err
b) When reading data from a file using class Scanner, if you wish to read data in the file mul- tiple times, the file must be closed and reopened to read from the beginning of the file.
c) Files static method exists receives a Path and determines whether it exists (either as a file or as a directory) on disk.
d) XML files are not human readable in a text editor.
e) An absolute path contains all the directories, starting with the root directory, that lead to a specific file or directory.
f) Class Formatter contains method printf, which enables formatted data to be output to the screen or to a file.


a) False. These three streams are created for you when a Java application begins execut-
ing.
b) True.
c) True.
d) False. XML files are both computer and machine readable.
e) True.
f) False. Class Formatter contains method format, which enables formatted data to be
output to the screen or to a file.

Computer Science & Information Technology

You might also like to view...

A program whose only task is to test a method is called a:

a. driver program b. stub c. bottom-up test d. recursive method

Computer Science & Information Technology

The process of removing and fixing orphan records is often called ____.

A. scrubbing the database B. enforcing rules C. applying syntax D. adding criteria

Computer Science & Information Technology

What is a folder target?

What will be an ideal response?

Computer Science & Information Technology

When joining tables, it is always necessary to qualify a column name.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology