Is "C:/cai/cs151" a relative or an absolute path name?
Answer:
Absolute. (It is the absolute path name of a directory).
Improved File Copy Program
The exists() method tests if a file exists.
Do this when a program is about to create
a file, and you don't want to destroy a previous file of the same name.
Here is a start on a program:
Now the program tests that: (1) the destination file does not already exist, and that (2) the source file does exist. Cut and paste the following phrases:
exists() args[2] !
(Some phrases may be used more than once.)
QUESTION 6:
Fill in the blanks.