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

1. You cannot reassign an array reference variable to a different array.
2. To write the contents of an array to a file, open the file and use a loop to step through each array element, writing it to the file. Then close the file.
3. When reading the contents of a file into an array, your loop should always iterate until the array is full.
4. Arrays are always passed by value when passed as method arguments.
5. When you use either the ref or out keywords before an array parameter, the receiving method does not automatically make a local copy of the array.

1. FALSE
2. TRUE
3. FALSE
4. FALSE
5. TRUE

Computer Science & Information Technology

You might also like to view...

_________ flow displays the elements on the page in the order they appear in the web page source code

a. default b. source code c. browser d. normal

Computer Science & Information Technology

The wireless environment lends itself to a ______ attack because it is so easy for the attacker to direct multiple wireless messages at the target.

A. DoS B. man-in-the-middle C. network injection D. identity theft

Computer Science & Information Technology