Consider the code segment below. Which of the following statements is false?
int[] g;
g = new int[23];

a. The value of g[3] is -1.
b. The first statement declares an array reference.
c. The second statement creates the array.
d. g is a reference to an array of integers.

A

Computer Science & Information Technology

You might also like to view...

An administrator wants to ensure a server OS and data can be recovered in case all the server's hard disk drives fail simultaneously. Which of the following backup types must be implemented to meet the requirements?

A. Full backup B. Differential C. Incremental D. Bare metal

Computer Science & Information Technology

Alice lets us build programs consisting of statements, in which we often send messages to ____.

A. classes B. objects C. functions D. methods

Computer Science & Information Technology